summaryrefslogtreecommitdiff
path: root/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'SConscript')
-rwxr-xr-xSConscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/SConscript b/SConscript
index 38a6b25..e7833cc 100755
--- a/SConscript
+++ b/SConscript
@@ -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(GetOption('win')):
- env = Environment(tools = ['mingw'])
+ env = Environment(tools = ['mingw'], ENV = os.environ)
else:
- env = Environment(tools = ['default'])
+ env = Environment(tools = ['default'], ENV = os.environ)
if(GetOption("copy_env")):
lstvar=["CC","CXX","LD","CFLAGS"]