mirror of https://gitlab.com/ita1024/waf.git
extras: gccdeps: fix for CXX_NAME (but some issues remain)
This commit is contained in:
parent
6546e34176
commit
a99ddb808f
|
@ -28,7 +28,7 @@ def add_mmd_cc(self):
|
|||
@feature('cxx')
|
||||
@before_method('process_source')
|
||||
def add_mmd_cxx(self):
|
||||
if self.env.CC_NAME in supported_compilers and self.env.get_flat('CXXFLAGS').find(preprocessor_flag) < 0:
|
||||
if self.env.CXX_NAME in supported_compilers and self.env.get_flat('CXXFLAGS').find(preprocessor_flag) < 0:
|
||||
self.env.append_value('CXXFLAGS', [preprocessor_flag])
|
||||
|
||||
def scan(self):
|
||||
|
|
Loading…
Reference in New Issue