Commit b56ddb7d authored by Christoph Berg's avatar Christoph Berg

Re-enable PIE on 32bit archs.

parent 483ebd70
......@@ -2,6 +2,7 @@ postgresql-filedump (10.0-1) unstable; urgency=medium
* New upstream release supporting PG10. (Closes: #878564)
* Update Standards-Version and package URLs.
* Re-enable PIE on 32bit archs.
-- Christoph Berg <myon@debian.org> Sun, 22 Oct 2017 20:12:17 +0200
......
#!/usr/bin/make -f
# disable PIE on 32bit because it's disabled in PostgreSQL's libpgport.a
# as well, cf. comments in postgresql-9.6's debian/rules and #797530
ifneq ($(shell dpkg-architecture -qDEB_HOST_ARCH_BITS || :),32)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
else
export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie
endif
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment