summaryrefslogtreecommitdiffstats
path: root/third_party/bspatch
diff options
context:
space:
mode:
authorevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-07 15:49:12 +0000
committerevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-07 15:49:12 +0000
commitf37e85112f6e1ce670bc50963f79b392c6af30bb (patch)
tree1b2eee89cd6e10cc18a0e09ac475bdbb71f10042 /third_party/bspatch
parent06c6a6ca0e2c99d399c9b9802d44451919a510c7 (diff)
downloadchromium_src-f37e85112f6e1ce670bc50963f79b392c6af30bb.zip
chromium_src-f37e85112f6e1ce670bc50963f79b392c6af30bb.tar.gz
chromium_src-f37e85112f6e1ce670bc50963f79b392c6af30bb.tar.bz2
Since the compiler line looks like "$CXXFLAGS $CFLAGS", there's no way to disable a C++-specific warning when -Wall is in CFLAGS. (You disable the warning, then -Wall turns it back on.)
Since we only write C++ code and we're only looking for warnings there for now, just put everything in CXXFLAGS. Also disable one more warning (which is the one that bit me here.) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1827 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/bspatch')
-rw-r--r--third_party/bspatch/SConscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/bspatch/SConscript b/third_party/bspatch/SConscript
index d7eef03..646e388 100644
--- a/third_party/bspatch/SConscript
+++ b/third_party/bspatch/SConscript
@@ -53,9 +53,9 @@ if env['PLATFORM'] == 'win32':
],
)
elif env['PLATFORM'] == 'posix':
- if '-Wall' in env['CCFLAGS']:
+ if '-Wall' in env['CXXFLAGS']:
# We're not responsible for bad warning hygiene in this third party code.
- env['CCFLAGS'].remove('-Wall')
+ env['CXXFLAGS'].remove('-Wall')
input_files = [
'mbspatch.cc',