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.
4 # This might turn out to be temporary, see:
5 # https://rt.cpan.org/Ticket/Display.html?id=96498
6 if ($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//;
13 $self->{OPTIMIZE} = '+O1';