summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2022-07-24 11:58:05 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2022-07-24 11:58:05 +0200
commit6a76f9bc8961038b85b285ffb9581e127f261223 (patch)
tree1ca04d0226458e17732f72820f916342d0562c7f
parentaa17aea29ba099770a177f48bd6befb7be5075c9 (diff)
Disable Link time optimization
-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