Page MenuHomeFreeBSD

crossbuild: don't assume <bsd.compiler.mk> always exists
ClosedPublic

Authored by arichardson on Feb 7 2018, 1:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 27, 11:12 PM
Unknown Object (File)
Sat, Sep 13, 5:16 AM
Unknown Object (File)
Sat, Sep 13, 3:52 AM
Unknown Object (File)
Sep 10 2025, 3:57 AM
Unknown Object (File)
Aug 16 2025, 5:34 AM
Unknown Object (File)
Aug 15 2025, 12:51 AM
Unknown Object (File)
Jul 9 2025, 10:26 PM
Unknown Object (File)
Jul 1 2025, 10:13 AM
Subscribers
None

Details

Summary

When crossbuilding e.g. from a Linux system it is not shipped as part of
bmake and will cause the build to fail. I am not sure if it needs to be
included by the toplevel makefile in order for ccache builds to work since
I haven't tested that yet on Linux/Mac.

Another way of solving this could be to required that cross os builds
always set -m $SRCDIR/share/mk but it seems to me like this small change
is simpler.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Feb 7 2018, 4:28 PM
This revision was automatically updated to reflect the committed changes.

I went to add comments to both these locations about why we do odd things with them, and found myself just pulling in the commit to the main tree in r328975. So this review might close automatically.