Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index f9d2ca0ad8be559af01149becf8be2db7a505f89..ef1c209253a439287004e6581188876f961a4984 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -3135,6 +3135,10 @@ |
'-fuse-ld=gold', |
'-Wno-psabi', |
], |
+ 'ldflags!': [ |
+ # Clang does not support the following options. |
+ '-fuse-ld=gold', |
+ ], |
}], |
], |
}], |
@@ -3219,6 +3223,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. |
@@ -3922,6 +3932,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', { |