diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-21 00:21:38 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-21 00:21:38 +0000 |
commit | 7eed731c2dddacd9237f3b838db38c7ff36f5022 (patch) | |
tree | 297d9cddc98d9ddf7fcd97e496bef103ab0b0040 /build | |
parent | b0b85fe971a8d61eae09b0ffdc791bd29f3a91d5 (diff) | |
download | chromium_src-7eed731c2dddacd9237f3b838db38c7ff36f5022.zip chromium_src-7eed731c2dddacd9237f3b838db38c7ff36f5022.tar.gz chromium_src-7eed731c2dddacd9237f3b838db38c7ff36f5022.tar.bz2 |
Use -fstack-protector in Mac Debug builds.
We used to have this in debug.xcconfig, but it seems to have gotten lost when
we migrated to GYP.
BUG=16713 (not really, that's for release builds, but close enough)
TEST=none
Review URL: http://codereview.chromium.org/292036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29591 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 6 |
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"', { |