Skip to content

Commit

Permalink
scons: allow copying of CCFLAGS (for C++ files) from the environment
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonmj committed Apr 14, 2014
1 parent 75034de commit 6b1b03a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SConscript
Expand Up @@ -141,7 +141,7 @@ else:
env = Environment(tools = ['default'], ENV = os.environ)

if(GetOption("copy_env")):
lstvar=["CC","CXX","LD","CFLAGS","LIBPATH"]
lstvar=["CC","CXX","LD","CFLAGS","CCFLAGS","LIBPATH"]
print "WARNING: enviroment copying enabled. changes in the enviroment can easily break the build process."
for var in lstvar:
if var in os.environ:
Expand Down

0 comments on commit 6b1b03a

Please sign in to comment.