Improved SCons script for building the userspace stdlib.
This commit is contained in:
@@ -23,6 +23,7 @@ stdlib = GetOption('stdlib')
|
||||
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(CPPDEFINES = ['BASTL_EXTENSIONS=1'])
|
||||
env['TARGET_ARCH'] = target
|
||||
# env.Append(CCFLAGS = ['-O2'])
|
||||
|
||||
env['ISO_FILES'] = []
|
||||
|
||||
Reference in New Issue
Block a user