Leont / extutils-hascompiler

Check for the presence of a compiler
5 stars 3 forks source link

Fix compiler test on AIX5 #8

Closed autarch closed 7 years ago

autarch commented 7 years ago

The ld on this platform does not support the -O flag so we simply don't pass it there.

autarch commented 7 years ago

Actually, I think it's best to just never pass the optimize flags to the ld command. This doesn't work on some systems (AIX and some versions of HPUX that I've found so far), and it seems unnecessary, since the "does the compiler work" test doesn't depend on this, and Perl itself will not end up passing those optimize flags when it compiles something for real, AFAICT. I'll create a new PR to remove the flag entirely.

Leont commented 7 years ago

Closed in favor of #9 :-)