summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi16
1 files changed, 16 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 7873c4c..8e10e70 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -3122,6 +3122,10 @@
'-fuse-ld=gold',
'-Wno-psabi',
],
+ 'ldflags!': [
+ # Clang does not support the following options.
+ '-fuse-ld=gold',
+ ],
}],
],
}],
@@ -3206,6 +3210,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.
@@ -3909,6 +3919,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', {