From 08fb9c6939c618936c9ad4bf1070e16c4c326755 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Thu, 19 Jan 2023 13:11:48 +0100 Subject: [PATCH] Re-enable PIE builds and also enable LTO Both seem to just work? --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index bc83be3..6805538 100755 --- a/debian/rules +++ b/debian/rules @@ -9,7 +9,7 @@ export DH_OPTIONS export PYBUILD_NAME = pyxattr 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.5