From 6ad7a37a24ed6e91c9a3d708c09e18bc56587c8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 5 Aug 2018 20:22:37 +0200 Subject: fix missing CFLAGS and LDFLAGS --- debian/changelog | 6 +++++- debian/rules | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 9c57613..327746b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,10 @@ dmidecode (3.1-2) unstable; urgency=medium - Change to my new email address. - Use secure copyright format URI. - Add year 2018 to debian/*. + * debian/rules: + - Add "export DEB_CFLAGS_MAINT_APPEND = -fPIE" and + "export DEB_LDFLAGS_MAINT_APPEND = -fPIE -pie" to fix missing CFLAGS + and LDFLAGS. * debian/watch: - Use secure URI. - Switch to version 4. @@ -16,7 +20,7 @@ dmidecode (3.1-2) unstable; urgency=medium - Change debian/compat to 11. - Bump minimum debhelper version in debian/control to >= 11. - -- Jörg Frings-Fürst Sat, 04 Aug 2018 21:24:05 +0200 + -- Jörg Frings-Fürst Sun, 05 Aug 2018 20:22:07 +0200 dmidecode (3.1-1) unstable; urgency=medium diff --git a/debian/rules b/debian/rules index a0cbc4d..6699560 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,9 @@ #!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_CFLAGS_MAINT_APPEND = -fPIE +export DEB_LDFLAGS_MAINT_APPEND = -fPIE -pie + include /usr/share/dpkg/architecture.mk ifeq ($(origin CC),default) -- cgit v1.2.3