From bddae3106719d34c89a89736f26de1da762a0898 Mon Sep 17 00:00:00 2001 From: "thakis@chromium.org" Date: Sat, 5 Mar 2011 04:47:25 +0000 Subject: 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 --- build/common.gypi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'build') 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': [ -- cgit v1.1