summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2022-07-30 10:03:04 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2022-07-30 10:03:04 +0200
commit14a261ceb80d66ad80bde6b7628028d6ae0a5cf1 (patch)
tree22e8016d97b6e5e794b8dc5fcdb1c1f459cdd058 /debian/rules
parent12c4482f7fabe71f18c7e6b9ddb26255b2870131 (diff)
parente12f764d89a3e237fd3a1e977ee9d24b2d81a0b3 (diff)
Merge branch 'release/debian/3.1.2-14'debian/3.1.2-14
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules4
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index d95b933..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
@@ -15,6 +15,8 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
+
+
%:
dh $@