Permalink
Browse files

Fixed incorrect detection of g++ in SConstruct

  • Loading branch information...
1 parent 369b24b commit 0f55777a2529c7067c536e31d13bc1e9542949ca @ereOn ereOn committed Jul 25, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 SConstruct
View
@@ -83,7 +83,7 @@ class FreelanEnvironment(Environment):
if os.path.basename(self['CXX']) == 'clang++':
self.Append(CXXFLAGS=['-Qunused-arguments'])
self.Append(CXXFLAGS=['-fcolor-diagnostics'])
- elif os.path.basename(self['CXX']).endswith('g++'):
+ elif os.path.basename(self['CXX']).startswith('g++'):
self.Append(CXXFLAGS=['-Wno-missing-field-initializers'])
self.Append(CXXFLAGS=['--std=c++11'])

0 comments on commit 0f55777

Please sign in to comment.