Page MenuHomeFreeBSD

Use CC as HOSTCC for building tools
ClosedPublic

Authored by jhibbits on Feb 8 2018, 4:10 PM.

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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.