Lines Matching refs:LD
280 .if ${LD} != "ld" && (${CC:[1]:H} != ${LD:[1]:H} || ${LD:[1]:T} != "ld")
281 # Add -fuse-ld=${LD} if $LD is in a different directory or not called "ld".
285 CCLDFLAGS+= --ld-path=${LD:[1]:S/^ld.//1W}
287 CCLDFLAGS+= -fuse-ld=${LD:[1]:S/^ld.//1W}
294 .if !(${LD:[1]:T} == "ld" && ${CC:tw:M-B${LD:[1]:H}/})
295 .warning LD (${LD}) is not the default linker for ${CC} but -fuse-ld= is not supported