summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog4
-rwxr-xr-xdebian/rules2
2 files changed, 4 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 3a2a9ea..6c04f55 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,7 +8,9 @@ xbase64 (3.1.2-14) UNRELEASED; urgency=medium
debian/libxbase64-bin.install.
* Declare compliance with Debian Policy 4.6.1.0 (No changes needed).
* debian/copyright:
- - Add 2022 to myself.
+ - Add year 2022 to myself.
+ * Disable Link time optimization (Closes: #1015707):
+ - debian/rules: Add optimize=-lto to DEB_BUILD_MAINT_OPTIONS.
-- Jörg Frings-Fürst <debian@jff.email> Sun, 24 Jul 2022 10:07:46 +0200
diff --git a/debian/rules b/debian/rules
index 39d1496..6424b10 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all, optimize=-lto
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s