Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index cc29fc1d4562ed7f0e7944cc5d0dd29b8c32cbb2..8d106d64cae15ab62eb8229fd29e02e83f7c0d4f 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -1153,9 +1153,11 @@ |
'-Wextra', |
'-Werror', |
], |
- 'cflags': [ |
+ 'cflags_cc': [ |
# Don't warn about hash_map in third-party code. |
'-Wno-deprecated', |
+ ], |
+ 'cflags': [ |
# Don't warn about printf format problems. |
# This is off by default in gcc but on in Ubuntu's gcc(!). |
'-Wno-format', |
@@ -1246,7 +1248,7 @@ |
['exclude', '(^|/)(wayland)_[^/]*\\.(h|cc)$'], |
], |
}], |
- ['OS!="linux"', { |
+ ['OS!="linux" and OS!="openbsd"', { |
Mark Mentovai
2011/10/24 17:11:25
Although we’ve discussed it, this will appear frea
Robert Nagy
2011/10/24 18:00:57
Done.
|
'sources/': [ |
['exclude', '_linux(_unittest)?\\.(h|cc)$'], |
['exclude', '(^|/)linux/'], |