mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-16 03:54:48 +00:00
Get clang as close to working as possible
additional fixup m2
This commit is contained in:
parent
458b9ce62d
commit
84ab6fabf1
|
@ -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"]
|
||||
|
|
Loading…
Reference in New Issue
Block a user