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, May 11, 6:48 AM
Unknown Object (File)
Sat, May 11, 6:48 AM
Unknown Object (File)
Sat, May 11, 6:48 AM
Unknown Object (File)
Sat, May 11, 6:48 AM
Unknown Object (File)
Fri, May 10, 11:29 PM
Unknown Object (File)
Wed, May 8, 4:50 PM
Unknown Object (File)
Tue, May 7, 10:40 PM
Unknown Object (File)
Tue, May 7, 4:10 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