Page MenuHomeFreeBSD

rtld: don't add extraneous -L directory when MK_TOOLCHAIN == no
ClosedPublic

Authored by emaste on May 2 2023, 8:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jun 28, 10:21 PM
Unknown Object (File)
Thu, Jun 27, 12:38 AM
Unknown Object (File)
Sun, Jun 23, 12:00 AM
Unknown Object (File)
May 8 2024, 9:56 PM
Unknown Object (File)
Apr 7 2024, 4:49 PM
Unknown Object (File)
Mar 11 2024, 1:34 AM
Unknown Object (File)
Dec 20 2023, 7:23 AM
Unknown Object (File)
Dec 12 2023, 3:56 AM
Subscribers

Details

Summary
rtld's Makefile used to add -L${LIBDIR} to LDFLAGS when MK_TOOLCHAIN was
no.  This was done as part of a change to fix building rtld with
MK_TOOLCHAIN == no, although as far as I can tell this part served no
purpose.  In any case as of 5f2e84015da7 libc_pic.a build is independent
of MK_TOOLCHAIN and the main part of the workaround has already been
removed.  Remove the rest now.

This reverts commit c0f5aeb0329d71e6b02379133c0c9c0145c9afea.

Sponsored by:   The FreeBSD Foundation

Diff Detail

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