Module Name: src Committed By: mrg Date: Sat Oct 14 06:53:56 UTC 2023
Modified Files: src/bin/sh: Makefile Log Message: the parser.c longjmp vs gcc12 issue affects a few ports, make the workaround global. To generate a diff of this commit: cvs rdiff -u -r1.121 -r1.122 src/bin/sh/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/bin/sh/Makefile diff -u src/bin/sh/Makefile:1.121 src/bin/sh/Makefile:1.122 --- src/bin/sh/Makefile:1.121 Mon Aug 14 03:18:14 2023 +++ src/bin/sh/Makefile Sat Oct 14 06:53:56 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.121 2023/08/14 03:18:14 mrg Exp $ +# $NetBSD: Makefile,v 1.122 2023/10/14 06:53:56 mrg Exp $ # @(#)Makefile 8.4 (Berkeley) 5/5/95 .include <bsd.own.mk> @@ -94,9 +94,7 @@ COPTS.jobs.c = -Wno-format-nonliteral COPTS.var.c = -Wno-format-nonliteral # XXXGCC12 - only on some targets -.if ${MACHINE_CPU} == "sh3" COPTS.parser.c+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 12:? -O1 :} -.endif .include <bsd.prog.mk> .include <bsd.subdir.mk>