Premake: Reorder links to speed up building.

- Re-enable LTO on clang.
- Set AR on travis so it builds with LTO.
This commit is contained in:
Joel Linn
2020-11-04 16:04:07 +01:00
committed by Rick Gibbed
parent 9dea6b3f62
commit 8b1ebe1130
6 changed files with 71 additions and 60 deletions

View File

@@ -91,7 +91,6 @@ filter("platforms:Linux")
buildoptions({
-- "-mlzcnt", -- (don't) Assume lzcnt is supported.
({os.outputof("pkg-config --cflags gtk+-x11-3.0")})[1],
"-fno-lto", -- Premake doesn't support LTO on clang
})
links({
"stdc++fs",