Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 96e2fb79a55a8ab76b508638e2dccd4228544c8e..223f7a95eb516a80245b6bdb33016a84352dd2ec 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -1492,6 +1492,17 @@ |
# Targets are by default not nacl untrusted code. |
'nacl_untrusted_build%': 0, |
+ 'pnacl_compile_flags': [ |
+ # pnacl uses the clang compiler so we need to supress all the |
Mark Seaborn
2012/11/15 23:33:27
Nit: 'suppress'
|
+ # same warnings as we do for clang. |
+ # TODO(sbc): Remove these if/when they are removed from the clang |
+ # build. |
+ '-Wno-unused-function', |
+ '-Wno-char-subscripts', |
+ '-Wno-c++11-extensions', |
+ '-Wno-unnamed-type-template-args', |
+ ], |
+ |
'conditions': [ |
['OS=="win" and component=="shared_library"', { |
# See http://msdn.microsoft.com/en-us/library/aa652367.aspx |