Permalink
Browse files

scons: allow copying of CCFLAGS (for C++ files) from the environment

  • Loading branch information...
jacksonmj committed Apr 14, 2014
1 parent 75034de commit 6b1b03a17eb0a7a9bdbeacf7b400621f20f60f15
Showing with 1 addition and 1 deletion.
  1. +1 −1 SConscript
@@ -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:

0 comments on commit 6b1b03a

Please sign in to comment.