Leont / extutils-hascompiler

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

Don't pass compiler's optimize flags to ld #9

Closed autarch closed 7 years ago

autarch commented 7 years ago

On systems where the ld command is not the same as the compiler, there's no reason to assume that these flags are valid for the linker. I encountered this on AIX and HPUX IA64, but this could apply anywhere, AFAICT.

This supersedes #8.

Leont commented 7 years ago

Merged