mirror of
https://github.com/NixOS/nix
synced 2025-07-10 08:53:55 +02:00
enable LTO in optimized builds
gives 2-5% performance improvement across a board of tests.
LTO is broken when using clang; some libs link fine while others crash
the linker with a segfault in the llvm linker plugin. 🙁
This commit is contained in:
parent
6097790863
commit
2799fe4cdb
6 changed files with 25 additions and 6 deletions
|
@ -7,6 +7,7 @@ CC = @CC@
|
|||
CFLAGS = @CFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CXXLTO = @CXXLTO@
|
||||
EDITLINE_LIBS = @EDITLINE_LIBS@
|
||||
ENABLE_S3 = @ENABLE_S3@
|
||||
GTEST_LIBS = @GTEST_LIBS@
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue