Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/usr.bin Honor HOST_CXX.



details:   https://anonhg.NetBSD.org/src/rev/dd57c082f202
branches:  trunk
changeset: 354714:dd57c082f202
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Jun 26 17:38:10 2017 +0000

description:
Honor HOST_CXX.

diffstat:

 external/gpl3/gcc/usr.bin/backend/Makefile     |  4 ++--
 external/gpl3/gcc/usr.bin/host-libcpp/Makefile |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (39 lines):

diff -r da11ebf836c2 -r dd57c082f202 external/gpl3/gcc/usr.bin/backend/Makefile
--- a/external/gpl3/gcc/usr.bin/backend/Makefile        Mon Jun 26 17:12:05 2017 +0000
+++ b/external/gpl3/gcc/usr.bin/backend/Makefile        Mon Jun 26 17:38:10 2017 +0000
@@ -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 @@
        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} \
diff -r da11ebf836c2 -r dd57c082f202 external/gpl3/gcc/usr.bin/host-libcpp/Makefile
--- a/external/gpl3/gcc/usr.bin/host-libcpp/Makefile    Mon Jun 26 17:12:05 2017 +0000
+++ b/external/gpl3/gcc/usr.bin/host-libcpp/Makefile    Mon Jun 26 17:38:10 2017 +0000
@@ -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



Home | Main Index | Thread Index | Old Index