fix Sconscript
This commit is contained in:
parent
eea006ad6f
commit
b4761e47dd
1
.gitignore
vendored
1
.gitignore
vendored
@ -38,6 +38,7 @@ Makefile.me
|
|||||||
*.tlog
|
*.tlog
|
||||||
*.lib
|
*.lib
|
||||||
*.ipch
|
*.ipch
|
||||||
|
*.ilk
|
||||||
*.log
|
*.log
|
||||||
*.lastbuildstate
|
*.lastbuildstate
|
||||||
*.unsuccessfulbuild
|
*.unsuccessfulbuild
|
||||||
|
@ -135,9 +135,9 @@ if((not GetOption('lin')) and (not GetOption('win')) and (not GetOption('rpi'))
|
|||||||
# if the platform is windows switch to a mingw toolset, use the default otherwise
|
# if the platform is windows switch to a mingw toolset, use the default otherwise
|
||||||
|
|
||||||
if(GetOption('win')):
|
if(GetOption('win')):
|
||||||
env = Environment(tools = ['mingw'])
|
env = Environment(tools = ['mingw'], ENV = os.environ)
|
||||||
else:
|
else:
|
||||||
env = Environment(tools = ['default'])
|
env = Environment(tools = ['default'], ENV = os.environ)
|
||||||
|
|
||||||
if(GetOption("copy_env")):
|
if(GetOption("copy_env")):
|
||||||
lstvar=["CC","CXX","LD","CFLAGS"]
|
lstvar=["CC","CXX","LD","CFLAGS"]
|
||||||
|
Loading…
Reference in New Issue
Block a user