--as-needed controls ELF-specific functionality (the emission of DT_NEEDED tags) --no-undefined is effectively always on for PE/COFF, as the linkage model always requires symbols to be defined binutils ld silently ignores these flags for PE targets, but lld warns that it's ignoring them, so just don't bother emitting them for PE targets.pull/4245/head
parent
9453ac6182
commit
cf58f56e16
1 changed files with 4 additions and 2 deletions
Loading…
Reference in new issue