From 047a9ffd66698b5988381b2e419a3023d4174c07 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sat, 8 Oct 2022 15:06:42 +0200 Subject: [PATCH] Build using LTO --- debian/changelog | 8 +++++++- debian/rules | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 48f29b06..deeda7da 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +llvm-toolchain-15 (1:15.0.2-2~exp3) UNRELEASED; urgency=medium + + * Build using LTO + + -- Sylvestre Ledru 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 Sat, 08 Oct 2022 10:06:32 +0200 + -- Sylvestre Ledru Thu, 06 Oct 2022 17:04:24 +0200 llvm-toolchain-15 (1:15.0.2-2~exp1) experimental; urgency=medium diff --git a/debian/rules b/debian/rules index 60388fde..875c63af 100755 --- a/debian/rules +++ b/debian/rules @@ -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