diff --git a/SConstruct b/SConstruct index 2a47c03..f8b3440 100644 --- a/SConstruct +++ b/SConstruct @@ -1,4 +1,5 @@ +import os import subprocess AddOption( @@ -25,7 +26,7 @@ env.Append(CPPDEFINES = ['BASTL_EXTENSIONS=1']) # env.Append(CCFLAGS = ['-O2']) env['ISO_FILES'] = [] -env = SConscript('targets/_any/SConscript', exports = 'env') +env = SConscript('targets/_any/SConscript', exports = 'env', ENV = os.environ) # TODO inheriting the environment is not a best practice if not stdlib: env = SConscript(f'targets/{target}/SConscript', exports = 'env')