summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
authorthakis <thakis@chromium.org>2016-01-04 12:10:57 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-04 20:12:38 +0000
commit09874b50f59f11ddd1268d6da87989ae09f07bfb (patch)
tree9cd6997f0ad947fcdf8bdebf143bf1673f4d9d07 /build/common.gypi
parent87ec0f76f838b5ff7c0b4aa80d8d2bf06418eb45 (diff)
downloadchromium_src-09874b50f59f11ddd1268d6da87989ae09f07bfb.zip
chromium_src-09874b50f59f11ddd1268d6da87989ae09f07bfb.tar.gz
chromium_src-09874b50f59f11ddd1268d6da87989ae09f07bfb.tar.bz2
linux: Build third-party code with -Wunused-result.
Part of an effort to make warning flags consistent across platforms. BUG=574077 Review URL: https://codereview.chromium.org/1559903002 Cr-Commit-Position: refs/heads/master@{#367355}
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi9
1 files changed, 0 insertions, 9 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 5efa569..dd22763 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -3158,15 +3158,6 @@
'-Werror',
],
}],
- [ 'os_posix==1 and os_bsd!=1 and OS!="mac" and OS!="android"', {
- 'cflags': [
- # Don't warn about ignoring the return value from e.g. close().
- # This is off by default in some gccs but on by default in others.
- # BSD systems do not support this option, since they are usually
- # using gcc 4.2.1, which does not have this flag yet.
- '-Wno-unused-result',
- ],
- }],
[ 'OS=="win"', {
'defines': [
'_CRT_SECURE_NO_DEPRECATE',