Module Name: src
Committed By: mrg
Date: Tue Jun 11 03:06:48 UTC 2024
Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile
Log Message:
install rs6000-vecdefines.h from here, where it is generated.
To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/external/gpl3/gcc/usr.bin/backend/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/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.72 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.73
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.72 Thu Jun 6 05:41:28 2024
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile Tue Jun 11 03:06:48 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.72 2024/06/06 05:41:28 mrg Exp $
+# $NetBSD: Makefile,v 1.73 2024/06/11 03:06:48 mrg Exp $
HOSTPROG_CXX= 1
LIBISPRIVATE= yes
@@ -35,6 +35,12 @@ HOST_CXXFLAGS+= -std=gnu++11
HOST_LIBIBERTYOBJ!= cd ${.CURDIR}/../host-libiberty && ${PRINTOBJDIR}
+# XXX This is generated here, not in ../include.
+.if ${GCC_MACHINE_ARCH} == "powerpc" || ${GCC_MACHINE_ARCH} == "powerpc64"
+INCS+= rs6000-vecdefines.h
+INCSDIR=${GCC_INCSDIR}
+.endif
+
.include <bsd.lib.mk>
# Force using C++ for this