Commit Graph

1 Commits

Author SHA1 Message Date
Alexey Sheplyakov
39afecc492 driver: run ${target}-as as a last resort
As of now the driver tries to locate `as` (and `ld`) somethere in $PATH
if nothing was found in libsubdir and tooldir. This is a bad idea for
a cross-compiler. Use DEFAULT_TARGET_MACHINE-{as,ld} instead.

Note that `collect2` already behaves that way (which is a good thing).
2021-06-11 23:06:26 +00:00