This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
RMG - Add comment that git clean -xdf after distclean should be no-op
[perl5.git] / cpan / Digest-SHA / hints / hpux.pl
CommitLineData
960d7aa9
JH
1# With +O2 this HP-UX cc compiler creates code which coredumps (Bus error)
2# when running t/woodbury.t, but dropping to +O1 seems to dodge that.
4f893e61
JH
3#
4# This might turn out to be temporary, see:
5# https://rt.cpan.org/Ticket/Display.html?id=96498
960d7aa9
JH
6if ($Config{cc} eq 'cc' &&
7 $Config{archname} eq 'PA-RISC2.0' &&
8 $Config{ccversion} =~ /^B\.11\.11\./) {
9 if (defined $self->{OPTIMIZE}) {
10 $self->{OPTIMIZE} =~ s/\+O[2-9]/+O1/;
11 $self->{OPTIMIZE} =~ s/ \+Onolimit//;
12 } else {
13 $self->{OPTIMIZE} = '+O1';
14 }
15}