Build using LTO

This commit is contained in:
Sylvestre Ledru 2022-10-08 15:06:42 +02:00
parent 34e77c5f0a
commit 047a9ffd66
2 changed files with 8 additions and 2 deletions

8
debian/changelog vendored
View File

@ -1,3 +1,9 @@
llvm-toolchain-15 (1:15.0.2-2~exp3) UNRELEASED; urgency=medium
* Build using LTO
-- Sylvestre Ledru <sylvestre@debian.org> Sat, 08 Oct 2022 15:06:37 +0200
llvm-toolchain-15 (1:15.0.2-2~exp2) experimental; urgency=medium
* Fix a typo to silent lintian (Closes: #1018770)
@ -16,7 +22,7 @@ llvm-toolchain-15 (1:15.0.2-2~exp2) experimental; urgency=medium
- Add patch wasm-sysroot-usr.diff to support a system-installed (i.e. shipped
in /usr) wasi-libc. (Closes: #1020746)
-- Sylvestre Ledru <sylvestre@debian.org> Sat, 08 Oct 2022 10:06:32 +0200
-- Sylvestre Ledru <sylvestre@debian.org> Thu, 06 Oct 2022 17:04:24 +0200
llvm-toolchain-15 (1:15.0.2-2~exp1) experimental; urgency=medium

2
debian/rules vendored
View File

@ -400,7 +400,7 @@ ifeq (,$(filter $(DEB_HOST_ARCH), armhf))
# * LLVM_ENABLE_LTO doesn't work with gcc >= 9 (option not accepted)
# * BOOTSTRAP_LLVM_ENABLE_LTO is producing some large binary
# See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=943623
# STAGE_2_CMAKE_EXTRA += -DLLVM_ENABLE_LTO="Thin"
STAGE_2_CMAKE_EXTRA += -DLLVM_ENABLE_LTO="On"
endif
endif