diff options
Diffstat (limited to 'gyp')
-rw-r--r-- | gyp/common_conditions.gypi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi index 22eb9a5d83..214bf27220 100644 --- a/gyp/common_conditions.gypi +++ b/gyp/common_conditions.gypi @@ -289,6 +289,12 @@ 'conditions' : [ [ 'skia_sanitizer == "thread"', { 'defines': [ 'DYNAMIC_ANNOTATIONS_ENABLED=1' ], + 'target_conditions': [ + [ '_type == "executable"', { + 'cflags': [ '-fPIE' ], + 'ldflags': [ '-pie' ], + }], + ], }], ], }], |