From 3ea6e44ffc1cf56f95831c108825f39985d913c9 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 1 Mar 2018 10:28:58 +0100 Subject: [PATCH] Sync architecture specific hardening support with dpkg 1.19.0.5 --- bin/blhc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/bin/blhc b/bin/blhc index fb4123c..b37bf6e 100755 --- a/bin/blhc +++ b/bin/blhc @@ -1068,11 +1068,11 @@ foreach my $file (@ARGV) { # Option or auto detected. if ($arch) { - # The following was partially copied from dpkg-dev 1.18.24 - # (/usr/share/perl5/Dpkg/Vendor/Debian.pm, _add_hardening_flags()), - # copyright Raphaël Hertzog , Kees Cook - # , Canonical, Ltd. licensed under GPL version 2 or - # later. Keep it in sync. + # The following was partially copied from dpkg-dev 1.19.0.5 + # (/usr/share/perl5/Dpkg/Vendor/Debian.pm, _add_build_flags()), + # copyright Raphaël Hertzog , Guillem Jover + # , Kees Cook , Canonical, Ltd. + # licensed under GPL version 2 or later. Keep it in sync. require Dpkg::Arch; my ($os, $cpu); @@ -1085,8 +1085,8 @@ foreach my $file (@ARGV) { } my %builtin_pie_arch = map { $_ => 1 } qw( - amd64 arm64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 - mips mipsel mips64el ppc64el s390x sparc sparc64 + amd64 arm64 armel armhf hurd-i386 i386 kfreebsd-amd64 kfreebsd-i386 + mips mipsel mips64el powerpc ppc64 ppc64el s390x sparc sparc64 ); # Disable unsupported hardening options. -- 2.45.2