extras: gccdeps: fix for CXX_NAME (but some issues remain)

This commit is contained in:
Jérôme Carretero 2014-01-02 06:24:01 -05:00
parent 6546e34176
commit a99ddb808f
1 changed files with 1 additions and 1 deletions

View File

@ -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):