This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Disable optimizer for 32bit PA-RISC builds on HP-UX
authorH.Merijn Brand <h.m.brand@xs4all.nl>
Sun, 6 May 2012 11:03:08 +0000 (13:03 +0200)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Sun, 6 May 2012 11:03:08 +0000 (13:03 +0200)
commit087ff916901abcba2dd047e2cf444a7747d895ee
tree2a6c2b6b8967e5ab2441ea93efa326f1a4e53e50
parent31c32f21637b69ee05a82842c4a121907f0a8d4f
Disable optimizer for 32bit PA-RISC builds on HP-UX

The (ANSI) C compiler fails to compile precompiled (.i) files when both
-g and -O (all +O1 and above) are given. When -g is requested, -O, +O,
and +Onolimit are removed from optimize flags

This #fail does not occur with the newer aCC compiler B3910B, which is
also used on HP-UX on Itanium.

The check/modification has to be done as late as possible, as the other
options, like -Duse64bitall and -DDEBUGING, will modify the variables
that need to be checked after hints/hpux.sh has been dealt with.
hints/hpux.sh