diff options
Diffstat (limited to 'methods.py')
-rw-r--r-- | methods.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/methods.py b/methods.py index 9efd8bf2f4..11efd68ce4 100644 --- a/methods.py +++ b/methods.py @@ -29,11 +29,11 @@ def disable_warnings(self): self.Append(CPPFLAGS=['/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['CPPFLAGS'] = [x for x in self['CPPFLAGS'] if not x in warn_flags] + self['CXXFLAGS'] = [x for x in self['CXXFLAGS'] if not x in warn_flags] else: self.Append(CCFLAGS=['-w']) self.Append(CFLAGS=['-w']) - self.Append(CPPFLAGS=['-w']) + self.Append(CXXFLAGS=['-w']) def add_module_version_string(self,s): |