From 45bda31bd4e28e9d81e62939e49cd03c15cc4fe6 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Fri, 20 Jan 2023 13:59:34 +0100 Subject: [PATCH] Switch build options to close two minor bugs --- debian/changelog | 7 +++++++ debian/rules | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 1e34ecd..d0eca48 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +python-pylibacl (0.6.0-3) unstable; urgency=medium + + * Re-enable PIE (builds just fine nowadays) (Closes: #986190). + * Enable LTO builds (Closes: #1015601). + + -- Iustin Pop Fri, 20 Jan 2023 13:59:07 +0100 + python-pylibacl (0.6.0-2) unstable; urgency=medium [ Debian Janitor ] diff --git a/debian/rules b/debian/rules index 02fe6db..ff218d9 100755 --- a/debian/rules +++ b/debian/rules @@ -9,7 +9,7 @@ export DH_OPTIONS export PYBUILD_NAME = pylibacl export PYBUILD_DISABLE = test -export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie +export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk -- 2.39.2