mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-01 17:00:36 +00:00
e6413fc21c
Don't exclude directories that the linker is "known" to search (/lib and /usr/lib) when deciding whether to pass certain paths to the linker. Under FreeBSD, the linker is actually known to never search /lib and to only search /usr/lib in the elf case. Not passing the paths causes at best causes confusing differences for cross compiling. This change is conditional on FREEBSD_NATIVE but should be absolute.