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
F102592207: D39938.diff
Thu, Nov 14, 12:40 PM
Unknown Object (File)
Oct 2 2024, 4:37 AM
Unknown Object (File)
Sep 24 2024, 4:45 AM
Unknown Object (File)
Sep 23 2024, 3:26 PM
Unknown Object (File)
Sep 19 2024, 5:14 AM
Unknown Object (File)
Sep 19 2024, 12:38 AM
Unknown Object (File)
Sep 18 2024, 1:57 AM
Unknown Object (File)
Sep 17 2024, 8:01 PM
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

Lint
Lint Skipped
Unit
Tests Skipped