summaryrefslogtreecommitdiff
path: root/methods.py
diff options
context:
space:
mode:
Diffstat (limited to 'methods.py')
-rw-r--r--methods.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods.py b/methods.py
index 3ed44329a7..bb4adfb70b 100644
--- a/methods.py
+++ b/methods.py
@@ -26,7 +26,7 @@ def disable_warnings(self):
warn_flags = ['/Wall', '/W4', '/W3', '/W2', '/W1', '/WX']
self.Append(CCFLAGS=['/w'])
self.Append(CFLAGS=['/w'])
- self.Append(CPPFLAGS=['/w'])
+ self.Append(CXXFLAGS=['/w'])
self['CCFLAGS'] = [x for x in self['CCFLAGS'] if not x in warn_flags]
self['CFLAGS'] = [x for x in self['CFLAGS'] if not x in warn_flags]
self['CXXFLAGS'] = [x for x in self['CXXFLAGS'] if not x in warn_flags]