diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index a40e2cb..a7ba5ca 100755 --- a/debian/rules +++ b/debian/rules @@ -9,7 +9,15 @@ # with-apache, no-apache | enable/disable certain packages # with-ruby, no-ruby | -DEB_BUILD_MAINT_OPTIONS=hardening=+all +include /usr/share/dpkg/architecture.mk + +# Workaround an issue with PIC/PIE on certain architectures (c.f., #942798) +ifneq (,$(filter x32,$(DEB_HOST_ARCH))) + DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie +else + DEB_BUILD_MAINT_OPTIONS=hardening=+all +endif + include /usr/share/dpkg/default.mk # Fully functional Java support is still a bit spotty on some Debian |