summaryrefslogtreecommitdiffstats
path: root/third_party/bspatch/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/bspatch/SConscript')
-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',