[Reproducible-commits] [dpkg] 19/74: Dpkg::Vendor::Debian: Do not disable PIE buildflags on */kFreeBSD anymore

Mattia Rizzolo mattia at debian.org
Sun Jul 3 22:22:53 UTC 2016


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to annotated tag 1.18.8
in repository dpkg.

commit c7fc55a0b1d82dd2056d8f0a35d016f976ba6fab
Author: Steven Chamberlain <steven at pyro.eu.org>
Date:   Tue May 10 03:17:29 2016 +0200

    Dpkg::Vendor::Debian: Do not disable PIE buildflags on */kFreeBSD anymore
    
    The flag should work on all current */kFreeBSD systems now.
    
    Closes: #823877
    Signed-off-by: Guillem Jover <guillem at debian.org>
---
 debian/changelog              | 2 ++
 scripts/Dpkg/Vendor/Debian.pm | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f1bf4e5..148a407 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 dpkg (1.18.8) UNRELEASED; urgency=medium
 
   [ Guillem Jover ]
+  * Do not disable PIE buildflags on */kFreeBSD anymore. Closes: #823877
+    Thanks to Steven Chamberlain <steven at pyro.eu.org>.
   * Perl modules:
     - Use warnings::warnif() instead of carp() for deprecated warnings.
   * Test suite:
diff --git a/scripts/Dpkg/Vendor/Debian.pm b/scripts/Dpkg/Vendor/Debian.pm
index 207486d..fa5e1c2 100644
--- a/scripts/Dpkg/Vendor/Debian.pm
+++ b/scripts/Dpkg/Vendor/Debian.pm
@@ -269,9 +269,9 @@ sub _add_hardening_flags {
     $self->_parse_feature_area('hardening', \%use_feature);
 
     # Mask features that are not available on certain architectures.
-    if ($os !~ /^(?:linux|knetbsd|hurd)$/ or
+    if ($os !~ /^(?:linux|kfreebsd|knetbsd|hurd)$/ or
 	$cpu =~ /^(?:hppa|avr32)$/) {
-	# Disabled on non-linux/knetbsd/hurd (see #430455 and #586215).
+	# Disabled on non-(linux/kfreebsd/knetbsd/hurd).
 	# Disabled on hppa, avr32
 	#  (#574716).
 	$use_feature{pie} = 0;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git



More information about the Reproducible-commits mailing list