summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-28 02:13:46 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-28 02:13:46 +0000
commit7e75435ab2333273b5312176ee98d37b04b3a27d (patch)
tree4ff53e50bccbebc83b93d4a9e6170370afea92bb /build
parent0c952a797b43569c8a6bda833d643b5823d8bdc8 (diff)
downloadchromium_src-7e75435ab2333273b5312176ee98d37b04b3a27d.zip
chromium_src-7e75435ab2333273b5312176ee98d37b04b3a27d.tar.gz
chromium_src-7e75435ab2333273b5312176ee98d37b04b3a27d.tar.bz2
mac: Use -O2 for clang release builds for now.
BUG=none TEST=none Review URL: http://codereview.chromium.org/7083014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87141 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 ee5c73b..fdbbc88 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -634,6 +634,10 @@
],
},
'conditions': [
+ ['OS=="mac" and clang==1', {
+ # TODO(thakis): Remove this once http://llvm.org/PR10031 is fixed.
+ 'mac_release_optimization%': '2',
+ }],
['branding=="Chrome"', {
'defines': ['GOOGLE_CHROME_BUILD'],
}, { # else: branding!="Chrome"