mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-03-27 17:43:05 +01:00
scons: allow copying of CCFLAGS (for C++ files) from the environment
This commit is contained in:
parent
75034de5a4
commit
6b1b03a17e
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user