Page MenuHomeFreeBSD

Use CC as HOSTCC for building tools
ClosedPublic

Authored by jhibbits on Feb 8 2018, 4:10 PM.
Tags
None
Referenced Files
F157700396: D14264.diff
Sun, May 24, 5:51 AM
Unknown Object (File)
Sun, May 17, 7:31 PM
Unknown Object (File)
Thu, May 7, 3:50 PM
Unknown Object (File)
Mon, Apr 27, 5:26 AM
Unknown Object (File)
Apr 24 2026, 12:37 AM
Unknown Object (File)
Apr 19 2026, 7:14 PM
Unknown Object (File)
Apr 19 2026, 12:02 AM
Unknown Object (File)
Apr 18 2026, 1:59 PM
Subscribers

Details

Summary

U-boot uses HOSTCC to build the fixdeps utility, which should be the
same as CC. However, U-boot assumes HOSTCC is different from CC, as CC is
generally for the target, which is usually a different platform. In the case of
the u-boot-tools port, HOSTCC should be the same as CC, since it's not
generating anything to run on a separate target.

Test Plan

Compiled only

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable