diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-11-18 08:47:19 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-11-18 08:47:19 +0300 |
commit | bbc00befe75ce223a91d1bbccab1e6e1c93da98c (patch) | |
tree | b340d5058d221ac3ab8cb07a3e4ee609bd94e31b /SConstruct | |
parent | 826c6d935d0a47289369b8c76ceb554d5def189a (diff) |
some scons command line args were not working since recent changes-
scons CCFLAGS="-O0 -ggdp3"
for example would pass on the args including the "'s to scons, causing the build to fail.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index 8e3666a7859..16e98e64f6b 100644 --- a/SConstruct +++ b/SConstruct @@ -249,7 +249,7 @@ if len(B.quickdebug) > 0 and printdebug != 0: # remove stdc++ from LLIBS if we are building a statc linked CXXFLAGS if env['WITH_BF_STATICCXX']: if 'stdc++' in env['LLIBS']: - env['LLIBS'] = env['LLIBS'].replace('stdc++', ' ') + env['LLIBS'].remove('stdc++') else: print '\tcould not remove stdc++ library from LLIBS, WITH_BF_STATICCXX may not work for your platform' |