projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
1236cec
)
Drop optimization for -O3 *and higher*
H.Merijn Brand [Fri, 30 Jan 2004 08:18:28 +0000 (08:18 +0000)]
p4raw-id: //depot/perl@22247
ext/Storable/hints/linux.pl
patch
|
blob
|
blame
|
history
diff --git
a/ext/Storable/hints/linux.pl
b/ext/Storable/hints/linux.pl
index
05661af
..
0c7d5e3
100644
(file)
--- 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;
}
}