Page MenuHomeFreeBSD

Use CC as HOSTCC for building tools
ClosedPublic

Authored by jhibbits on Feb 8 2018, 4:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 6 2025, 2:20 AM
Unknown Object (File)
Mar 5 2025, 10:56 PM
Unknown Object (File)
Mar 4 2025, 6:19 PM
Unknown Object (File)
Mar 4 2025, 2:57 PM
Unknown Object (File)
Mar 4 2025, 2:49 PM
Unknown Object (File)
Feb 27 2025, 6:37 PM
Unknown Object (File)
Feb 27 2025, 1:30 PM
Unknown Object (File)
Feb 27 2025, 1:29 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