Module Name: src Committed By: martin Date: Sun May 28 09:47:28 UTC 2023
Modified Files: src/external/gpl3/gcc/usr.bin/backend [netbsd-10]: Makefile src/external/gpl3/gcc/usr.bin/common [netbsd-10]: Makefile src/external/gpl3/gcc/usr.bin/common-target [netbsd-10]: Makefile src/external/gpl3/gcc/usr.bin/frontend [netbsd-10]: Makefile src/external/gpl3/gcc/usr.bin/libcpp [netbsd-10]: Makefile src/external/gpl3/gcc/usr.bin/libdecnumber [netbsd-10]: Makefile Log Message: Pull up following revision(s) (requested by lukem in ticket #176): external/gpl3/gcc/usr.bin/libdecnumber/Makefile: revision 1.9 external/gpl3/gcc/usr.bin/common/Makefile: revision 1.12 external/gpl3/gcc/usr.bin/backend/Makefile: revision 1.67 external/gpl3/gcc/usr.bin/common-target/Makefile: revision 1.12 external/gpl3/gcc/usr.bin/frontend/Makefile: revision 1.15 external/gpl3/gcc/usr.bin/libcpp/Makefile: revision 1.10 gcc: fix build with clang++ HOST_CXX Define HOSTPROG_CXX before .include anything that brings in bsd.own.mk. This ensures that HOST_DBG (etc) gets assigned before HOST_CFLAGS and HOST_CXXFLAGS is created. backend: .include <bsd.init.mk> much earlier, as per the other directories. Fixes backend build when using clang++ as the host compiler (e.g., macOS), because backend host tools are now built with -O. Inspired by https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255760 Note that gcc.old/Makefile.prog may be mis-used because it defines HOSTPROG_CXX and this Makefile fragment is included after bsd.*.mk in other Makefiles, but they seem to build ok so leaving it alone for now. Fixes PR toolchain/57014 To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.66.2.1 src/external/gpl3/gcc/usr.bin/backend/Makefile cvs rdiff -u -r1.11 -r1.11.2.1 src/external/gpl3/gcc/usr.bin/common/Makefile cvs rdiff -u -r1.11 -r1.11.2.1 \ src/external/gpl3/gcc/usr.bin/common-target/Makefile cvs rdiff -u -r1.14 -r1.14.2.1 \ src/external/gpl3/gcc/usr.bin/frontend/Makefile cvs rdiff -u -r1.9 -r1.9.2.1 src/external/gpl3/gcc/usr.bin/libcpp/Makefile cvs rdiff -u -r1.8 -r1.8.2.1 \ src/external/gpl3/gcc/usr.bin/libdecnumber/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.