From 84ab6fabf1c83a97b40e92e05240b8fb02df0280 Mon Sep 17 00:00:00 2001 From: Pentarctagon Date: Sat, 29 Oct 2016 14:52:26 -0500 Subject: [PATCH] Get clang as close to working as possible additional fixup m2 --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 812cfc4be81..1c378973960 100755 --- a/SConstruct +++ b/SConstruct @@ -556,7 +556,7 @@ builds = { "glibcxx_debug" : dict(CPPDEFINES = Split("_GLIBCXX_DEBUG _GLIBCXX_DEBUG_PEDANTIC")), "release" : dict(CCFLAGS = "$OPT_FLAGS"), "profile" : dict(CCFLAGS = "-pg", LINKFLAGS = "-pg"), - "optimize" : dict(CCFLAGS = Split("$HIGH_OPT_FLAGS")) + "optimize" : dict(CCFLAGS = Split("$HIGH_OPT_FLAGS"), LINKFLAGS=Split("-fuse-ld=gold -flto")) } builds["glibcxx_debug"].update(builds["debug"]) build = env["build"]