summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-27 23:41:44 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-27 23:41:44 +0000
commit2e82fa5c0b4567f3be6c4a7a83f9cac058de4a43 (patch)
tree4387e6050b335fb0f50a9f681bbde62105a5d2bc /build/common.gypi
parent897836f1901e70c27ff1d6cba5190be7cef2b049 (diff)
downloadchromium_src-2e82fa5c0b4567f3be6c4a7a83f9cac058de4a43.zip
chromium_src-2e82fa5c0b4567f3be6c4a7a83f9cac058de4a43.tar.gz
chromium_src-2e82fa5c0b4567f3be6c4a7a83f9cac058de4a43.tar.bz2
Clean up a few -faddress-sanitizer stragglers.
BUG=159580 TBR=glider Review URL: https://codereview.chromium.org/11418195 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169797 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 0daf444..18e4b28 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -259,8 +259,8 @@
# Has no effect if 'clang' is not set as well.
'clang_use_chrome_plugins%': 1,
- # Enable building with ASAN (Clang's -faddress-sanitizer option).
- # -faddress-sanitizer only works with clang, but asan=1 implies clang=1
+ # Enable building with ASAN (Clang's -fsanitize=address option).
+ # -fsanitize=address only works with clang, but asan=1 implies clang=1
# See https://sites.google.com/a/chromium.org/dev/developers/testing/addresssanitizer
'asan%': 0,
@@ -3167,7 +3167,7 @@
'-w', # http://crbug.com/162783
],
'ldflags!': [
- '-faddress-sanitizer',
+ '-fsanitize=address',
'-Wl,-z,noexecstack',
'-Wl,--gc-sections',
'-Wl,-O1',
@@ -3301,7 +3301,7 @@
['asan==1', {
'xcode_settings': {
'OTHER_LDFLAGS': [
- '-faddress-sanitizer',
+ '-fsanitize=address',
],
},
}],