Page MenuHomeFreeBSD

bsd.lib.mk: decouple lib*_pic.a from TOOLCHAIN build knob
ClosedPublic

Authored by emaste on May 1 2023, 8:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 17, 11:50 PM
Unknown Object (File)
Sun, May 17, 11:50 PM
Unknown Object (File)
Sun, May 17, 11:48 PM
Unknown Object (File)
Sun, May 17, 11:27 PM
Unknown Object (File)
Sat, May 2, 11:07 PM
Unknown Object (File)
Thu, Apr 30, 8:14 AM
Unknown Object (File)
Apr 20 2026, 2:47 PM
Unknown Object (File)
Apr 15 2026, 10:09 AM
Subscribers

Details

Summary
A user may use a tool chain from a package or just use an existing
tool chain from a previous installation.  There is no reason for this
to disable the installation of lib${LIB}_pic.a.

This also means we don't need to force MK_TOOLCHAIN=yes in lib/libc.
This reverts part of c0f5aeb0329d.

Diff Detail

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

Event Timeline

emaste requested review of this revision.May 1 2023, 8:39 PM

Related commits:
rG:9c662f355f059fe01d55ac703a2795ecba8327a5
rG:c0f5aeb0329d

It looks like rG:c0f5aeb0329d could be reverted entirely, but I'm not sure (and Jess is not sure) about the 2nd part off hand.

I'd vote for reverting the second half too provided it works in local testing, but as a separate commit in case some weird setup breaks (/me looks at dirdeps)

This revision is now accepted and ready to land.May 1 2023, 8:43 PM