void-packages/srcpkgs/perl/patches/D-SHA-CFLAGS.diff
Juan RP 05f5b6e455 perl: update to 5.20.2 and make the soname versioned (#871).
- Merged some patches from Gentoo for misc fixes/tweaks and versioned soname.
- Update common/shlibs with libperl.so.5.20 soname.
2015-02-15 13:49:17 +01:00

32 lines
841 B
Diff

From a6a9d8165ffe93c36e0643c4557155fb10df8c4a Mon Sep 17 00:00:00 2001
From: Matthias Maier <tamiko@gentoo.org>
Date: Sat, 29 Nov 2014 00:34:14 +0100
Subject: [PATCH] Do not set custom CFLAGS in cpan/Digest-SHA
Bug-Gentoo: https://bugs.gentoo.org/506818
Patch-Name: gentoo/D-SHA-CFLAGS.diff
---
cpan/Digest-SHA/Makefile.PL | 6 ------
1 file changed, 6 deletions(-)
diff --git a/cpan/Digest-SHA/Makefile.PL b/cpan/Digest-SHA/Makefile.PL
index 3d83865..f0d08a1 100644
--- cpan/Digest-SHA/Makefile.PL
+++ cpan/Digest-SHA/Makefile.PL
@@ -27,12 +27,6 @@ if ($^O eq 'VMS') {
}
}
- # Enhance performance on Intel when using gcc
-
-if ($Config{archname} =~ /^i[3456]86/ && $Config{ccname} eq 'gcc') {
- push(@extra, OPTIMIZE => '-O1 -fomit-frame-pointer');
-}
-
my %att = (
'NAME' => 'Digest::SHA',
'VERSION_FROM' => $PM,
--
2.1.3