mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-21 18:50:50 +01:00
csh: Use HOST_CC when compiling hostprog used by csh build
The "gethost" program should be built with the host compiler. Obtained from: Juniper Networks, Inc. Reviewed by: sjg Differential Revision: https://reviews.freebsd.org/D44537
This commit is contained in:
parent
3abd36c68f
commit
a6d8dcb0d9
@ -123,7 +123,7 @@ tc.defs.c: gethost
|
||||
DEPENDOBJS+= gethost
|
||||
gethost: gethost.c sh.err.h tc.const.h sh.h ${BUILD_TOOLS_META}
|
||||
@rm -f ${.TARGET}
|
||||
${CC:N${CCACHE_BIN}} -o gethost ${LDFLAGS} ${CFLAGS:C/-DHAVE_ICONV//} \
|
||||
${HOST_CC:N${CCACHE_BIN}} -o gethost ${LDFLAGS} ${CFLAGS:C/-DHAVE_ICONV//} \
|
||||
${TCSHDIR}/gethost.c
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user