perl-Digest-SHA/Digest-SHA-5.91-Reset-CFLAG...

34 lines
829 B
Diff

From bf3ad94505252daac8afa13776023e5ccf672fbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Mon, 11 Mar 2013 09:44:22 +0100
Subject: [PATCH] Reset CFLAGS
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Petr Písař <ppisar@redhat.com>
---
Makefile.PL | 6 ------
1 file changed, 6 deletions(-)
diff --git a/Makefile.PL b/Makefile.PL
index 8e882ca..f04dcbb 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -64,12 +64,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');
-}
-
push(@extra, CCFLAGS => '-W -Wall ' . $Config{ccflags}) if $opt_w;
my %attr = (
--
1.9.3