Commit | Line | Data |
---|---|---|
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 |
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//; | |
12 | } else { | |
13 | $self->{OPTIMIZE} = '+O1'; | |
14 | } | |
15 | } |