Source-Changes archive

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

CVS commit: [netbsd-9] src/external/gpl3/gcc/usr.bin



Module Name:    src
Committed By:   martin
Date:           Sat Jun  3 14:24:25 UTC 2023

Modified Files:
        src/external/gpl3/gcc/usr.bin/backend [netbsd-9]: Makefile
        src/external/gpl3/gcc/usr.bin/common [netbsd-9]: Makefile
        src/external/gpl3/gcc/usr.bin/common-target [netbsd-9]: Makefile
        src/external/gpl3/gcc/usr.bin/frontend [netbsd-9]: Makefile
        src/external/gpl3/gcc/usr.bin/libcpp [netbsd-9]: Makefile
        src/external/gpl3/gcc/usr.bin/libdecnumber [netbsd-9]: Makefile

Log Message:
Pull up following revision(s) (requested by lukem in ticket #1635):

        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

Fixes PR toolchain/57014


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.55.2.1 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.9 -r1.9.2.1 src/external/gpl3/gcc/usr.bin/common/Makefile
cvs rdiff -u -r1.8 -r1.8.2.1 \
    src/external/gpl3/gcc/usr.bin/common-target/Makefile
cvs rdiff -u -r1.13 -r1.13.2.1 \
    src/external/gpl3/gcc/usr.bin/frontend/Makefile
cvs rdiff -u -r1.8 -r1.8.6.1 src/external/gpl3/gcc/usr.bin/libcpp/Makefile
cvs rdiff -u -r1.7 -r1.7.6.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.




Home | Main Index | Thread Index | Old Index