diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2014-06-24 10:28:05 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2014-06-24 10:34:37 -0400 |
commit | a312a4316d03f9525260e26cef9e101ca6257958 (patch) | |
tree | e1076bcd8857931ed4f7ae16246ce5175f9a362b /cpan/Digest-SHA | |
parent | 65cd38a75eedee90424986017bbe82b6425ef95d (diff) | |
download | perl-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.pl | 3 |
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'; } |