20 lines
611 B
Diff
20 lines
611 B
Diff
|
diff -up ./SConstruct.orig ./SConstruct
|
||
|
--- ./SConstruct.orig 2017-01-01 22:16:40.914893288 -0800
|
||
|
+++ ./SConstruct 2017-01-01 22:22:26.934720111 -0800
|
||
|
@@ -22,14 +22,7 @@ opts.Update(env)
|
||
|
|
||
|
Help(opts.GenerateHelpText(env))
|
||
|
|
||
|
-flags = ["-std=gnu++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=gnu++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.
|