summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2022-11-01 08:50:28 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2022-11-01 08:50:28 +0200
commite0421b7cc8969edefca25c9a47e24f7e77c4bdf6 (patch)
tree06d5d5b0cd34606fdcb3baec700d5ee6f4c8e493 /debian/rules
parent4730c0a495a8bbb3f95c88461de15bf69baec8dc (diff)
parent6449af6f2d52c7acb483fcfb186c838edaf0424a (diff)
downloadmariadb-git-e0421b7cc8969edefca25c9a47e24f7e77c4bdf6.tar.gz
Merge 10.7 into 10.8
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules9
1 files changed, 6 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules
index 3878457c637..2a1db6b4ce2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,11 @@
#!/usr/bin/make -f
-# Enable Debian Hardening
-# https://wiki.debian.org/Hardening
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DH_VERBOSE=1
+export DEB_BUILD_HARDENING=1
+
+# enable Debian Hardening
+# see: https://wiki.debian.org/Hardening
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=-lto
DPKG_EXPORT_BUILDFLAGS = 1
# Include all defaults, including buildflags.mk
include /usr/share/dpkg/default.mk