[dpkg] 06/13: Dpkg::Vendor::Debian: Mark hurd-i386 as having built-in PIE support

Mattia Rizzolo mattia at debian.org
Mon Jan 22 17:11:51 UTC 2018


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

mattia pushed a commit to branch pu/reproducible_builds
in repository dpkg.

commit e606532b171130be9f3a7ebc4188ed76444d8339
Author: Guillem Jover <guillem at debian.org>
Date:   Sat Jan 13 02:34:46 2018 +0100

    Dpkg::Vendor::Debian: Mark hurd-i386 as having built-in PIE support
    
    Requested-by: Samuel Thibault <sthibault at debian.org>
    (cherry picked from commit 81591e0f2590052ff221964c8c554bbbd39763b5)
---
 debian/changelog              | 2 ++
 scripts/Dpkg/Vendor/Debian.pm | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 4531bbf..69c1605 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,8 @@ dpkg (1.19.0.5) UNRELEASED; urgency=medium
     - Check that $state->{seen} exists instead of $state being just defined.
       Fixes regression in dpkg-gensymbols symbols output.
       Thanks to Dmitry Shachnev <mitya57 at debian.org>. Closes: #880166
+    - Mark hurd-i386 as having gcc builtin PIE in Dpkg::Vendor::Debian.
+      Requested by Samuel Thibault <sthibault at debian.org>.
 
  -- Guillem Jover <guillem at debian.org>  Wed, 17 Jan 2018 03:16:09 +0100
 
diff --git a/scripts/Dpkg/Vendor/Debian.pm b/scripts/Dpkg/Vendor/Debian.pm
index 980597b..08ed825 100644
--- a/scripts/Dpkg/Vendor/Debian.pm
+++ b/scripts/Dpkg/Vendor/Debian.pm
@@ -267,7 +267,7 @@ sub _add_build_flags {
 
     # Mask builtin features that are not enabled by default in the compiler.
     my %builtin_pie_arch = map { $_ => 1 } qw(
-        amd64 arm64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386
+        amd64 arm64 armel armhf hurd-i386 i386 kfreebsd-amd64 kfreebsd-i386
         mips mipsel mips64el powerpc ppc64 ppc64el s390x sparc sparc64
     );
     if (not exists $builtin_pie_arch{$arch}) {

-- 
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