Inherit environment variables so it finds the compilers in PATH.
This commit is contained in:
parent
3d284a0bde
commit
d03604c061
@ -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')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user