Blob Blame History Raw
--- SConstruct~	2021-07-12 11:55:10.366672469 -0500
+++ SConstruct	2021-07-12 11:57:10.358812423 -0500
@@ -46,15 +46,7 @@
 #   $ CXXFLAGS=-msse3 scons
 #   $ CXXFLAGS=-march=native scons
 # or modify the `flags` variable:
-flags = ["-std=c++11", "-Wall", "-Werror", "-Wold-style-cast"]
-if env["mode"] != "debug":
-	flags += ["-O3", "-flto"]
-	env.Append(LINKFLAGS = ["-O3", "-flto"])
-if env["mode"] == "debug":
-	flags += ["-g"]
-elif env["mode"] == "profile":
-	flags += ["-pg"]
-	env.Append(LINKFLAGS = ["-pg"])
+flags = ["-std=c++11"]
 env.Append(CCFLAGS = flags)
 
 # Always use `ar` to create the symbol table, and don't use ranlib at all, since it fails to preserve