mirror of
https://github.com/richfelker/musl-cross-make.git
synced 2025-07-31 13:33:25 +02:00

on some targets, the logic for the compiler option -static seems not to be processed when -pie is present. rather than playing whack-a-mole, just ensure LD_PIE_SPEC specs always pass -static to ld if either -static or -static-pie is present on the compiler driver command line. this may produce redundant -static arguments but it doesn't matter.