From 5020379ca30622e098b2cef9341a54a5b65ef438 Mon Sep 17 00:00:00 2001 From: Naughtylus Date: Thu, 3 Nov 2016 12:26:45 +0100 Subject: [PATCH] Fixed typos in SConstruct --- SConstruct | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/SConstruct b/SConstruct index cae08775..dee8ee0d 100644 --- a/SConstruct +++ b/SConstruct @@ -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'])