From: H.Merijn Brand Date: Fri, 30 Jan 2004 08:18:28 +0000 (+0000) Subject: Drop optimization for -O3 *and higher* X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a2059b76e524df362053936d8d5d440b69d59cb2;p=p5sagit%2Fp5-mst-13.2.git Drop optimization for -O3 *and higher* p4raw-id: //depot/perl@22247 --- diff --git a/ext/Storable/hints/linux.pl b/ext/Storable/hints/linux.pl index 05661af..0c7d5e3 100644 --- a/ext/Storable/hints/linux.pl +++ b/ext/Storable/hints/linux.pl @@ -8,7 +8,7 @@ use Config; if ($Config{gccversion}) { my $optimize = $Config{optimize}; - if ($optimize =~ s/(^| )-O3( |$)/$1-O2$2/) { + if ($optimize =~ s/(^| )-O[3-9]( |$)/$1-O2$2/) { $self->{OPTIMIZE} = $optimize; } }