Module Name: src Committed By: mrg Date: Wed Nov 15 07:47:40 UTC 2017
Modified Files: src/external/gpl3/gcc/usr.bin/common: Makefile src/external/gpl3/gcc/usr.bin/frontend: Makefile Log Message: pull across from gcc.old: >https://bugzilla.eng.vmware.com/show_bug.cgi?id=1703878#c118 To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/common/Makefile cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gcc/usr.bin/frontend/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl3/gcc/usr.bin/common/Makefile diff -u src/external/gpl3/gcc/usr.bin/common/Makefile:1.4 src/external/gpl3/gcc/usr.bin/common/Makefile:1.5 --- src/external/gpl3/gcc/usr.bin/common/Makefile:1.4 Tue Mar 15 19:13:22 2016 +++ src/external/gpl3/gcc/usr.bin/common/Makefile Wed Nov 15 07:47:40 2017 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2016/03/15 19:13:22 mrg Exp $ +# $NetBSD: Makefile,v 1.5 2017/11/15 07:47:40 mrg Exp $ LIBISPRIVATE= yes @@ -31,6 +31,8 @@ HOSTPROG_CXX= 1 COPTS.diagnostic.c= -Wno-stack-protector COPTS.intl.c= -Wno-stack-protector +version.c: ${GCCARCH}/defs.mk ${TOP}/tools/gcc/gcc-version.mk + ${SRCS}: ${GCCARCH}/defs.mk .include <bsd.lib.mk> Index: src/external/gpl3/gcc/usr.bin/frontend/Makefile diff -u src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.10 src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.11 --- src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.10 Tue Mar 15 19:12:06 2016 +++ src/external/gpl3/gcc/usr.bin/frontend/Makefile Wed Nov 15 07:47:40 2017 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2016/03/15 19:12:06 mrg Exp $ +# $NetBSD: Makefile,v 1.11 2017/11/15 07:47:40 mrg Exp $ LIBISPRIVATE= yes @@ -23,6 +23,8 @@ SRCS+= driver-rs6000.c .include "../Makefile.target-defines" +version.c: ${GCCARCH}/defs.mk ${TOP}/tools/gcc/gcc-version.mk + CPPFLAGS+= -I${GCCARCH} -I. \ ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} \ -DPREFIX=\"/usr\"