HomeFreeBSD

libmagic: Use HOST_CC when compiling hostprog used by build

Description

libmagic: Use HOST_CC when compiling hostprog used by build

The "mkmagic" program should be built with the host compiler.

Only use BTOOLSPATH if not building for host

Obtained from: Juniper Networks, Inc.
Reviewed by: sjg
Differential Revision: https://reviews.freebsd.org/D44539

Details

Provenance
stevekAuthored on Mar 27 2024, 10:02 PM
Reviewer
sjg
Differential Revision
D44539: libmagic: Use HOST_CC when compiling hostprog used by build
Parents
rGa6d8dcb0d981: csh: Use HOST_CC when compiling hostprog used by csh build
Branches
Unknown
Tags
Unknown