summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi6
1 files changed, 5 insertions, 1 deletions
diff --git a/build/common.gypi b/build/common.gypi
index bd11ee4..1ca523d 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -354,7 +354,11 @@
'xcode_settings': {
'COPY_PHASE_STRIP': 'NO',
'GCC_OPTIMIZATION_LEVEL': '<(mac_debug_optimization)',
- 'OTHER_CFLAGS': [ '<@(debug_extra_cflags)', ],
+ 'OTHER_CFLAGS': [
+ '-fstack-protector',
+ '-fstack-protector-all',
+ '<@(debug_extra_cflags)',
+ ],
},
'conditions': [
[ 'OS=="win"', {