[neon/qt6/qt6-languageserver/Neon/release] debian: add optimize=+lto

Carlos De Maine null at kde.org
Sun Oct 22 14:56:46 BST 2023


Git commit 3a4767fd7f27c5c2fa6c2c15df245086b5fe8a71 by Carlos De Maine.
Committed on 22/10/2023 at 15:56.
Pushed by carlosdem into branch 'Neon/release'.

add optimize=+lto

M  +1    -1    debian/rules

https://invent.kde.org/neon/qt6/qt6-languageserver/-/commit/3a4767fd7f27c5c2fa6c2c15df245086b5fe8a71

diff --git a/debian/rules b/debian/rules
index e107f98..9388a6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 # Use already defined DEB_HOST_* variables.
 include /usr/share/dpkg/architecture.mk
 
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto
 
 # QT_HOST_PATH isn't passed in cross-builds
 ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))


More information about the Neon-commits mailing list