summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2022-11-01 10:33:44 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2022-11-01 10:33:44 +0100
commitebf2121529fcf06971b4c0fc28f40654ef8dd99f (patch)
tree420ddcc5b2aeae06a75224062e85ee8b1ffce504 /debian/rules
parent4b87d3628acf815836c0efc84fbcd878517d9b89 (diff)
parente0421b7cc8969edefca25c9a47e24f7e77c4bdf6 (diff)
downloadmariadb-git-ebf2121529fcf06971b4c0fc28f40654ef8dd99f.tar.gz
Merge branch '10.8' into 10.9
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 660797f3c2b..df205d64d20 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