[PATCH] dpkg-buildflags: Remove stackprotectorstrong arch blacklist
As of gcc-defaults 1.130 all architectures have moved to GCC 4.9, so we
can remove the architecture blacklist for stackprotectorstrong.
diff --git a/scripts/Dpkg/Vendor/Debian.pm b/scripts/Dpkg/Vendor/Debian.pm
index 5223e0e..f9e8a84 100644
--- a/scripts/Dpkg/Vendor/Debian.pm
+++ b/scripts/Dpkg/Vendor/Debian.pm
@@ -137,12 +137,6 @@ sub add_hardening_flags {
# compiler supports it incorrectly (leads to SEGV)
$use_feature{stackprotector} = 0;
}
- if ($arch =~ /^(?:m68k|or1k|powerpcspe|sh4|x32)$/) {
- # "Strong" stack protector disabled on m68k, or1k, powerpcspe, sh4, x32.
- # It requires GCC 4.9 and these archs are still using 4.8 as of
- # gcc-defaults 1.128.
- $use_feature{stackprotectorstrong} = 0;
- }
if ($cpu =~ /^(?:ia64|hppa|avr32)$/) {
# relro not implemented on ia64, hppa, avr32.
$use_feature{relro} = 0;
Reply to: