Module Name: src
Committed By: mrg
Date: Mon Sep 7 00:24:17 UTC 2020
Modified Files:
src/external/gpl3/gdb/lib/libgdb: Makefile
Log Message:
apply -Wno-error=alloca-larger-than= for GCC 9.
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/external/gpl3/gdb/lib/libgdb/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/gdb/lib/libgdb/Makefile
diff -u src/external/gpl3/gdb/lib/libgdb/Makefile:1.23 src/external/gpl3/gdb/lib/libgdb/Makefile:1.24
--- src/external/gpl3/gdb/lib/libgdb/Makefile:1.23 Sun May 3 07:10:27 2020
+++ src/external/gpl3/gdb/lib/libgdb/Makefile Mon Sep 7 00:24:17 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2020/05/03 07:10:27 rin Exp $
+# $NetBSD: Makefile,v 1.24 2020/09/07 00:24:17 mrg Exp $
NOCTF=
HOSTPROG_CXX= 1
@@ -74,3 +74,6 @@ CLEANDIRFILES+= \
m2-exp.c \
p-exp.c \
rust-exp.c
+
+# corelow.c
+CWARNFLAGS.gcc+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 9:? -Wno-error=alloca-larger-than= :}