summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi8
1 files changed, 7 insertions, 1 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 768d9bc..5f44362 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -976,7 +976,6 @@
'COPY_PHASE_STRIP': 'NO',
'GCC_OPTIMIZATION_LEVEL': '<(mac_debug_optimization)',
'OTHER_CFLAGS': [
- '-fstack-protector-all', # Implies -fstack-protector
'<@(debug_extra_cflags)',
],
},
@@ -1015,6 +1014,13 @@
'<@(debug_extra_cflags)',
],
}],
+ ['release_valgrind_build==0', {
+ 'xcode_settings': {
+ 'OTHER_CFLAGS': [
+ '-fstack-protector-all', # Implies -fstack-protector
+ ],
+ },
+ }],
],
},
'Release_Base': {