summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-04 12:54:37 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-04 12:54:37 +0000
commit1736fed9e87ba4e1e2a28865894f4c5ef849086f (patch)
tree31421e9f2b024ea86a937ce521fa621086487156 /build
parent803ac6bd6d3478d80adeb5ddb72b69c210fcf74d (diff)
downloadchromium_src-1736fed9e87ba4e1e2a28865894f4c5ef849086f.zip
chromium_src-1736fed9e87ba4e1e2a28865894f4c5ef849086f.tar.gz
chromium_src-1736fed9e87ba4e1e2a28865894f4c5ef849086f.tar.bz2
Revert 226978 "Revert 226920 "Roll Clang 188423:191856.""
> Revert 226920 "Roll Clang 188423:191856." > > I suspect this caused a 25% sizes regression on Mac: http://build.chromium.org/f/chromium/perf/mac-release/sizes/report.html?history=150&rev=-1&graph=Chromium.app > > > Roll Clang 188423:191856. > > > > Remove libprofile_rt from package.sh, it doesn't exist after LLVM r191835 > > > > BUG=290204,303886 > > R=thakis@chromium.org > > TBR=net owner > > NOTRY=true > > > > Review URL: https://codereview.chromium.org/25875004 > > TBR=thakis@chromium.org > > Review URL: https://codereview.chromium.org/25988002 TBR=jochen@chromium.org Review URL: https://codereview.chromium.org/25999003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226994 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi16
1 files changed, 16 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index dba2d00..b13194a 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -3130,6 +3130,10 @@
'-fuse-ld=gold',
'-Wno-psabi',
],
+ 'ldflags!': [
+ # Clang does not support the following options.
+ '-fuse-ld=gold',
+ ],
}],
],
}],
@@ -3214,6 +3218,12 @@
# code generated by flex (used in angle) contains that keyword.
# http://crbug.com/255186
'-Wno-deprecated-register',
+
+ # TODO(hans): Remove once we've cleaned up the warnings.
+ '-Wno-unused-const-variable',
+
+ # This warns about auto_ptr<>, used in third-party code.
+ '-Wno-deprecated-declarations',
],
'cflags!': [
# Clang doesn't seem to know know this flag.
@@ -3917,6 +3927,12 @@
# code generated by flex (used in angle) contains that keyword.
# http://crbug.com/255186
'-Wno-deprecated-register',
+
+ # TODO(hans): Remove once we've cleaned up the warnings.
+ '-Wno-unused-const-variable',
+
+ # This warns about auto_ptr<>, used in third-party code.
+ '-Wno-deprecated-declarations',
],
}],
['clang==1 and clang_use_chrome_plugins==1', {