Use optimization level -O2

This commit is contained in:
Sebastian Huber 2015-11-12 13:12:22 +01:00
parent d6c6017c25
commit c6899159e4
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ class error(Exception):
return self.msg return self.msg
def common_flags(): def common_flags():
return ['-O', return ['-O2',
'-g', '-g',
'-fno-strict-aliasing', '-fno-strict-aliasing',
'-ffreestanding', '-ffreestanding',

View File

@ -58,7 +58,7 @@ def build(bld):
# C/C++ flags # C/C++ flags
common_flags = [] common_flags = []
common_flags += ["-O"] common_flags += ["-O2"]
common_flags += ["-g"] common_flags += ["-g"]
common_flags += ["-fno-strict-aliasing"] common_flags += ["-fno-strict-aliasing"]
common_flags += ["-ffreestanding"] common_flags += ["-ffreestanding"]