NetBSD-Bugs archive

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

re: misc/53561: Build log contains gmake debug output



The following reply was made to PR misc/53561; it has been noted by GNATS.

From: matthew green <mrg%eterna.com.au@localhost>
To: Andreas Gustafsson <gson%gson.org@localhost>
Cc: gnats-bugs%netbsd.org@localhost, Martin Husemann <martin%duskware.de@localhost>
Subject: re: misc/53561: Build log contains gmake debug output
Date: Thu, 14 Nov 2019 19:25:00 +1100

 i think i found it.  i noticed your big build.log shows the error
 only in the native libcpp build phase, not tools at all.  the fix
 is to copy the "env -i" idiom from tools/Makefile.gnuhost.
 
 
 .mrg.
 
 
 external/gpl3/gcc/usr.bin/host-libcpp/Makefile has:
 
 libcpp/libcpp.a:
         [ ! -d libcpp ] && mkdir libcpp || true
         (cd libcpp; \
                 CC=3D${HOST_CC:Q} CXX=3D${HOST_CXX:Q}  \
                 CFLAGS=3D${HOST_CFLAGS:Q} \
                 MAKE=3D${TOOL_GMAKE:Q} \
                 CONFIG_SHELL=3D${HOST_SH:Q} \
                 ${HOST_SH} ${DIST}/libcpp/configure -v am_cv_func_iconv=3D=
 no \
                 && CC=3D${HOST_CC:Q} CXX=3D${HOST_CXX:Q} CFLAGS=3D${HOST_C=
 FLAGS:Q} ${TOOL_GMAKE})
 


Home | Main Index | Thread Index | Old Index