scons: Allow more than one arg in BASECPPFLAGS

scons BASEFLAGS='-DID_FAKE_PURE=1 -DID_ENFORCE_KEY=0'
This commit is contained in:
dhewg 2011-12-09 20:55:30 +01:00
parent 8cbd6167ac
commit 8c80d6c0b8

View file

@ -267,7 +267,7 @@ CORELINKFLAGS = [ ]
# for release build, further optimisations that may not work on all files # for release build, further optimisations that may not work on all files
OPTCPPFLAGS = [ ] OPTCPPFLAGS = [ ]
BASECPPFLAGS.append( BASEFLAGS ) BASECPPFLAGS.extend( BASEFLAGS.split(' ') )
BASECPPFLAGS.append( '-pipe' ) BASECPPFLAGS.append( '-pipe' )
# warn all # warn all
BASECPPFLAGS.append( '-Wall' ) BASECPPFLAGS.append( '-Wall' )