From d572c661fdd187c517a2382f3ed96fdaa7ea74a5 Mon Sep 17 00:00:00 2001 From: rxi Date: Thu, 22 Sep 2016 19:10:29 +0100 Subject: [PATCH] Updated compiler flags in build.py --- build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.py b/build.py index cd3c61d..ae3197e 100755 --- a/build.py +++ b/build.py @@ -6,7 +6,7 @@ SRC_DIR = "src" BIN_DIR = "bin" BIN_NAME = "love.exe" -CFLAGS = ["-Ofast", "-Wall"] +CFLAGS = ["-O3", "-Wall", "-s", "-Wno-misleading-indentation"] DLIBS = ["m"] DEFINES = ["DMT_ABORT_NULL", "LUA_COMPAT_ALL"] @@ -44,7 +44,7 @@ def main(): print "compiling..." res = os.system(cmd) - print("done" + (" with errors" if res else "")) + print "done" + (" with errors" if res else "")