summaryrefslogtreecommitdiff
path: root/deps/uv/common.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'deps/uv/common.gypi')
-rw-r--r--deps/uv/common.gypi7
1 files changed, 4 insertions, 3 deletions
diff --git a/deps/uv/common.gypi b/deps/uv/common.gypi
index ecf9475234..c6f6dec865 100644
--- a/deps/uv/common.gypi
+++ b/deps/uv/common.gypi
@@ -37,9 +37,10 @@
'OTHER_CFLAGS': [ '-Wno-strict-aliasing' ],
},
'conditions': [
- ['OS != "win"', {
- 'defines': [ 'EV_VERIFY=2' ],
- }],
+ ['OS == "android"', {
+ 'cflags': [ '-fPIE' ],
+ 'ldflags': [ '-fPIE', '-pie' ]
+ }]
]
},
'Release': {