I might be too tired.
This commit is contained in:
parent
d03604c061
commit
a096458bdb
@ -20,13 +20,13 @@ AddOption(
|
|||||||
target = GetOption('target')
|
target = GetOption('target')
|
||||||
stdlib = GetOption('stdlib')
|
stdlib = GetOption('stdlib')
|
||||||
|
|
||||||
env = Environment(tools = ['default', 'compilation_db'])
|
env = Environment(tools = ['default', 'compilation_db'], ENV = os.environ) # TODO inheriting the environment is not a best practice
|
||||||
env.Append(CCFLAGS = ['-g', '-O0', '-fno-stack-protector'])
|
env.Append(CCFLAGS = ['-g', '-O0', '-fno-stack-protector'])
|
||||||
env.Append(CPPDEFINES = ['BASTL_EXTENSIONS=1'])
|
env.Append(CPPDEFINES = ['BASTL_EXTENSIONS=1'])
|
||||||
# env.Append(CCFLAGS = ['-O2'])
|
# env.Append(CCFLAGS = ['-O2'])
|
||||||
|
|
||||||
env['ISO_FILES'] = []
|
env['ISO_FILES'] = []
|
||||||
env = SConscript('targets/_any/SConscript', exports = 'env', ENV = os.environ) # TODO inheriting the environment is not a best practice
|
env = SConscript('targets/_any/SConscript', exports = 'env')
|
||||||
if not stdlib:
|
if not stdlib:
|
||||||
env = SConscript(f'targets/{target}/SConscript', exports = 'env')
|
env = SConscript(f'targets/{target}/SConscript', exports = 'env')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user