summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-05 04:47:25 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-05 04:47:25 +0000
commitbddae3106719d34c89a89736f26de1da762a0898 (patch)
treef92932cc46af96d53c87a182010d4568345ef4cd /build
parentc4a9e93c5e86b5747c2f4c6f8516f03905a5cc8b (diff)
downloadchromium_src-bddae3106719d34c89a89736f26de1da762a0898.zip
chromium_src-bddae3106719d34c89a89736f26de1da762a0898.tar.gz
chromium_src-bddae3106719d34c89a89736f26de1da762a0898.tar.bz2
Yet another clang roll attempt.
To r126754 To handle clang making -fno-exceptions disabling ObjC exceptions, add -fobjc-exceptions for all files for now. This is a band-aid, see the bug below. BUG=75001 TEST=none TBR=hans Review URL: http://codereview.chromium.org/6628002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77032 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 08d9097..39ee2a9 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1360,6 +1360,10 @@
# TODO(thakis): Use -isystem instead (http://crbug.com/58751 ).
'-Wno-unnamed-type-template-args',
],
+ 'OTHER_CFLAGS': [
+ # TODO(thakis): Causes many warnings - http://crbug.com/75001
+ '-fobjc-exceptions',
+ ],
}],
['clang==1 and clang_use_chrome_plugins==1', {
'OTHER_CFLAGS': [