Honor HOST_CXX.
This commit is contained in:
parent
8e469e5ba9
commit
ff6447e3f3
4
external/gpl3/gcc/usr.bin/backend/Makefile
vendored
4
external/gpl3/gcc/usr.bin/backend/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.36 2017/02/14 00:20:20 rin Exp $
|
||||
# $NetBSD: Makefile,v 1.37 2017/06/26 17:38:10 joerg Exp $
|
||||
|
||||
LIBISPRIVATE= yes
|
||||
|
||||
@ -210,7 +210,7 @@ auto-build.h: gmp.h Makefile
|
||||
mkdir .ab && \
|
||||
(cd .ab && \
|
||||
AWK=${TOOL_AWK:Q} \
|
||||
CC=${ORIGHOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} \
|
||||
CC=${ORIGHOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} CXX=${HOST_CXX:Q} \
|
||||
MAKE=${TOOL_GMAKE:Q} \
|
||||
CONFIG_SHELL=${HOST_SH:Q} \
|
||||
gcc_cv_ld=${LD:Q} \
|
||||
|
@ -1,14 +1,14 @@
|
||||
# $NetBSD: Makefile,v 1.2 2016/08/14 16:04:50 tls Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2017/06/26 17:38:10 joerg Exp $
|
||||
|
||||
libcpp/libcpp.a:
|
||||
[ ! -d libcpp ] && mkdir libcpp || true
|
||||
(cd libcpp; \
|
||||
CC=${HOST_CC:Q} \
|
||||
CC=${HOST_CC:Q} CXX=${HOST_CXX:Q} \
|
||||
CFLAGS=${HOST_CFLAGS:Q} \
|
||||
MAKE=${TOOL_GMAKE:Q} \
|
||||
CONFIG_SHELL=${HOST_SH:Q} \
|
||||
${HOST_SH} ${DIST}/libcpp/configure -v am_cv_func_iconv=no \
|
||||
&& CC=${HOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} ${TOOL_GMAKE})
|
||||
&& CC=${HOST_CC:Q} CXX=${HOST_CXX:Q} CFLAGS=${HOST_CFLAGS:Q} ${TOOL_GMAKE})
|
||||
|
||||
cleandir:
|
||||
-rm -rf libcpp
|
||||
|
Loading…
Reference in New Issue
Block a user