endless-sky/endless-sky-0.9.4-remove-ad...

19 lines
546 B
Diff

--- SConstruct.orig 2017-09-13 20:00:51.154361127 -0700
+++ SConstruct 2017-09-13 20:24:45.396884800 -0700
@@ -25,14 +25,7 @@
Help(opts.GenerateHelpText(env))
-flags = ["-std=c++11", "-Wall"]
-if env["mode"] != "debug":
- flags += ["-O3"]
-if env["mode"] == "debug":
- flags += ["-g"]
-if env["mode"] == "profile":
- flags += ["-pg"]
- env.Append(LINKFLAGS = ["-pg"])
+flags = ["-std=c++11"]
# Required build flags. If you want to use SSE optimization, you can turn on
# -msse3 or (if just building for your own computer) -march=native.