Fix build on versions of FreeBSD that don't have gcc as the default

compiler, remove the flag schedule-insns2 passed to cc
This commit is contained in:
Steven Kreuzer 2014-04-04 15:11:43 +00:00
parent e90284b661
commit 06ad3b4467
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350132
2 changed files with 12 additions and 0 deletions

View file

@ -10,6 +10,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= skreuzer@FreeBSD.org
COMMENT= Perl extension for Rabbit stream cipher
LICENSE= GPLv2
USES= perl5
USE_PERL5= configure

View file

@ -0,0 +1,10 @@
--- Makefile.PL.orig 2014-04-04 14:56:24.000000000 +0000
+++ Makefile.PL 2014-04-04 14:56:41.000000000 +0000
@@ -1,6 +1,6 @@
use ExtUtils::MakeMaker;
-my $opt = '-O3 -funroll-loops -fomit-frame-pointer -fschedule-insns2 -Os -fno-strength-reduce -Wall -pipe';
+my $opt = '-O3 -funroll-loops -fomit-frame-pointer -Os -fno-strength-reduce -Wall -pipe';
WriteMakefile(
'NAME' => 'Crypt::Rabbit',