diff options
author | pennae <github@quasiparticle.net> | 2021-12-21 19:34:40 +0100 |
---|---|---|
committer | pennae <github@quasiparticle.net> | 2022-03-03 17:47:49 +0100 |
commit | 2799fe4cdbe77e017544f2fe61ae9baef650dbe6 (patch) | |
tree | 21294b63e66563fd7e2cad66da3afb4865bdf625 /Makefile.config.in | |
parent | 609779086301a600f4282a629d586bba6b6a485c (diff) |
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. 🙁
Diffstat (limited to 'Makefile.config.in')
-rw-r--r-- | Makefile.config.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.config.in b/Makefile.config.in index 3505f337e..d724853fa 100644 --- a/Makefile.config.in +++ b/Makefile.config.in @@ -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@ |