Module Name: src Committed By: mrg Date: Sat Jun 15 20:35:14 UTC 2024
Modified Files: src/share/mk: bsd.own.mk Log Message: switch several ports over to GCC 12. arm32, arm64, riscv, x86, sparc*, ia64, and alpha. thanks for several folks help testing and fixing things, most espcially rin@. To generate a diff of this commit: cvs rdiff -u -r1.1377 -r1.1378 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.1377 src/share/mk/bsd.own.mk:1.1378 --- src/share/mk/bsd.own.mk:1.1377 Sat Jun 15 20:33:05 2024 +++ src/share/mk/bsd.own.mk Sat Jun 15 20:35:14 2024 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.1377 2024/06/15 20:33:05 mrg Exp $ +# $NetBSD: bsd.own.mk,v 1.1378 2024/06/15 20:35:14 mrg Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -75,6 +75,17 @@ TOOLCHAIN_MISSING?= no # # What GCC is used? # +.if ${MACHINE_CPU} == "aarch64" || \ + ${MACHINE_CPU} == "riscv" || \ + ${MACHINE_CPU} == "arm" || \ + ${MACHINE} == "amd64" || \ + ${MACHINE} == "i386" || \ + ${MACHINE} == "sparc" || \ + ${MACHINE} == "sparc64" || \ + ${MACHINE} == "ia64" || \ + ${MACHINE} == "alpha" +HAVE_GCC?= 12 +.endif HAVE_GCC?= 10 #