Page MenuHomeFreeBSD

bsd.linker.mk: Detect LLD when built with PACKAGE_VENDOR
ClosedPublic

Authored by arichardson on Jul 19 2021, 11:12 PM.
Tags
None
Referenced Files
F157125829: D31224.id92447.diff
Mon, May 18, 3:14 PM
F157125033: D31224.id92447.diff
Mon, May 18, 3:07 PM
Unknown Object (File)
Fri, May 15, 2:26 PM
Unknown Object (File)
Fri, May 15, 2:26 PM
Unknown Object (File)
Fri, May 15, 1:41 PM
Unknown Object (File)
Fri, May 15, 7:48 AM
Unknown Object (File)
Wed, May 13, 1:35 AM
Unknown Object (File)
Wed, May 13, 1:35 AM
Subscribers

Details

Summary

Recent versions of homebrew's LLD are built with PACKAGE_VENDOR (since
https://github.com/Homebrew/homebrew-core/commit/e7c972b6062af753e564104e58d1fa20c0d1ad7a).
This means that the -v output is now
Homebrew LLD 12.0.1 (compatible with GNU linkers) and bsd.linker.mk no
longer detects it as LLD since it only checks whether the first word is
LLD. This change allow me to build on macOS again and should unbreak the
GitHub actions CI.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable