Skip to content

Commit

Permalink
Fixed typos in SConstruct
Browse files Browse the repository at this point in the history
  • Loading branch information
Naughtylus committed Nov 3, 2016
1 parent e9910dc commit 5020379
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ class FreelanEnvironment(Environment):
self.bin_install_prefix = self.bin_prefix

if self['CXX'] is None:
raise SCons.Errors.BuildError(
errstr="CXX environment variable not set. Are you missing a C++ compiler?");
raise SCons.Errors.BuildError(
errstr="CXX environment variable not set. Are you missing a C++ compiler?")
else:
if os.path.basename(self['CXX']) == 'clang++':
self.Append(CXXFLAGS=['-Qunused-arguments'])
self.Append(CXXFLAGS=['-fcolor-diagnostics'])
elif os.path.basename(self['CXX']).startswith('g++'):
self.Append(CXXFLAGS=['-Wno-missing-field-initializers'])
if os.path.basename(self['CXX']) == 'clang++':
self.Append(CXXFLAGS=['-Qunused-arguments'])
self.Append(CXXFLAGS=['-fcolor-diagnostics'])
elif os.path.basename(self['CXX']).startswith('g++'):
self.Append(CXXFLAGS=['-Wno-missing-field-initializers'])

self.Append(CXXFLAGS=['--std=c++11'])
self.Append(CXXFLAGS=['-Wall'])
Expand Down

0 comments on commit 5020379

Please sign in to comment.