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
F135464775: D39938.diff
Mon, Nov 10, 2:21 AM
Unknown Object (File)
Sun, Nov 9, 2:53 AM
Unknown Object (File)
Mon, Oct 13, 4:00 PM
Unknown Object (File)
Mon, Oct 13, 4:00 PM
Unknown Object (File)
Mon, Oct 13, 4:00 PM
Unknown Object (File)
Mon, Oct 13, 3:00 AM
Unknown Object (File)
Sep 23 2025, 12:37 PM
Unknown Object (File)
Sep 8 2025, 5:32 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