diff options
Diffstat (limited to 'common_conditions.gypi')
-rw-r--r-- | common_conditions.gypi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/common_conditions.gypi b/common_conditions.gypi index 39ee953..817c4a1 100644 --- a/common_conditions.gypi +++ b/common_conditions.gypi @@ -413,6 +413,16 @@ }], ], }], + [ 'skia_sanitizer == "undefined"', { + 'cflags': [ '-fPIC' ], + 'cflags_cc!': ['-fno-rtti'], + 'target_conditions': [ + [ '_type == "executable"', { + 'cflags': [ '-fPIE' ], + 'ldflags': [ '-pie' ], + }], + ], + }], ], }], [ 'skia_clang_build', { |