From c6899159e469147838e08dfdc1476ac186a60907 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 12 Nov 2015 13:12:22 +0100 Subject: [PATCH] Use optimization level -O2 --- builder.py | 2 +- wscript | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/builder.py b/builder.py index 1f37bc9b..3fbe497c 100755 --- a/builder.py +++ b/builder.py @@ -62,7 +62,7 @@ class error(Exception): return self.msg def common_flags(): - return ['-O', + return ['-O2', '-g', '-fno-strict-aliasing', '-ffreestanding', diff --git a/wscript b/wscript index 7f643fe9..f2ba9afa 100644 --- a/wscript +++ b/wscript @@ -58,7 +58,7 @@ def build(bld): # C/C++ flags common_flags = [] - common_flags += ["-O"] + common_flags += ["-O2"] common_flags += ["-g"] common_flags += ["-fno-strict-aliasing"] common_flags += ["-ffreestanding"]