]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
deb packaging: reenable PIE in hardening options
authorVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 25 Jul 2022 11:35:15 +0000 (13:35 +0200)
committerVasek Sraier <git@vakabus.cz>
Sun, 31 Jul 2022 15:26:39 +0000 (17:26 +0200)
Downstream did this years ago:
https://salsa.debian.org/dns-team/knot-resolver/-/commit/1f3428a62aa59f269e95abf51836db2112ef4d29
otherwise we have issues with building python parts.

distro/pkg/deb/rules

index 0b441871d4c2cdaff1a32d3691606e36782c960b..f7693be3bc6d1c5815ff8a8279cd1543983b6300 100755 (executable)
@@ -2,7 +2,7 @@
 # SPDX-License-Identifier: GPL-3.0-or-later
 
 # see FEATURE AREAS in dpkg-buildflags(1)
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 # see ENVIRONMENT in dpkg-buildflags(1)
 # package maintainers to append CFLAGS