]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - bin/blhc
sync architecture specific hardening support with dpkg 1.17.11.
[blhc/blhc.git] / bin / blhc
index 72918fe5bc57e6494f42657879c3d9fc6563448f..af644d3597621d2ad04de3bac77f7d78be1b01a7 100755 (executable)
--- a/bin/blhc
+++ b/bin/blhc
@@ -959,7 +959,7 @@ foreach my $file (@ARGV) {
 
     # Option or auto detected.
     if ($arch) {
-        # The following was partially copied from dpkg-dev 1.17.1
+        # The following was partially copied from dpkg-dev 1.17.11
         # (/usr/share/perl5/Dpkg/Vendor/Debian.pm, add_hardening_flags()),
         # copyright RaphaĆ«l Hertzog <hertzog@debian.org>, Kees Cook
         # <kees@debian.org>, Canonical, Ltd. licensed under GPL version 2 or
@@ -973,8 +973,7 @@ foreach my $file (@ARGV) {
                 $cpu =~ /^(?:hppa|mips|mipsel|avr32)$/) {
             $harden_pie = 0;
         }
-        if ($cpu =~ /^(?:ia64|alpha|mips|mipsel|hppa|arm64)$/
-                or $arch eq 'arm') {
+        if ($cpu =~ /^(?:ia64|alpha|mips|mipsel|hppa)$/ or $arch eq 'arm') {
             $harden_stack = 0;
         }
         if ($cpu =~ /^(?:ia64|hppa|avr32)$/) {