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)
Sat, Nov 1, 12:40 AM
Unknown Object (File)
Mon, Oct 27, 6:49 AM
Unknown Object (File)
Mon, Oct 27, 6:49 AM
Unknown Object (File)
Mon, Oct 27, 6:49 AM
Unknown Object (File)
Mon, Oct 27, 6:49 AM
Unknown Object (File)
Mon, Oct 27, 1:09 AM
Unknown Object (File)
Sat, Oct 25, 6:18 AM
Unknown Object (File)
Tue, Oct 14, 2:02 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