summaryrefslogtreecommitdiff
path: root/cpan/Digest-SHA
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-06-24 10:28:05 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-06-24 10:34:37 -0400
commita312a4316d03f9525260e26cef9e101ca6257958 (patch)
treee1076bcd8857931ed4f7ae16246ce5175f9a362b /cpan/Digest-SHA
parent65cd38a75eedee90424986017bbe82b6425ef95d (diff)
downloadperl-a312a4316d03f9525260e26cef9e101ca6257958.tar.gz
Drop debugging, and handle HP-UX opt flags.
Diffstat (limited to 'cpan/Digest-SHA')
-rw-r--r--cpan/Digest-SHA/hints/hpux.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpan/Digest-SHA/hints/hpux.pl b/cpan/Digest-SHA/hints/hpux.pl
index 941382f9b9..16e062f15c 100644
--- a/cpan/Digest-SHA/hints/hpux.pl
+++ b/cpan/Digest-SHA/hints/hpux.pl
@@ -8,10 +8,9 @@
# but the ticket was rejected since MSHELOR thinks Digest::SHA
# is doing nothing wrong.
if (defined $self->{OPTIMIZE}) {
+ $self->{OPTIMIZE} =~ s/ \+O[a-z_]+(?:=[\w,]+)?//; # Drop HP-UX +Onolimit etc.
# This will turn -O0 to -O1, but we will burn that bridge when we cross it.
$self->{OPTIMIZE} =~ s/[\+\-]O[0-9]*/-O1/;
- $self->{OPTIMIZE} =~ s/NO_OPT/-O0/;
- $self->{OPTIMIZE} =~ s/ \+Onolimit//;
} else {
$self->{OPTIMIZE} = '-O1';
}