Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gdb/lib/libgdb apply -Wno-error=alloca-larger-...



details:   https://anonhg.NetBSD.org/src/rev/8d9d38f4611f
branches:  trunk
changeset: 1013842:8d9d38f4611f
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Sep 07 00:24:17 2020 +0000

description:
apply -Wno-error=alloca-larger-than= for GCC 9.

diffstat:

 external/gpl3/gdb/lib/libgdb/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r db3947a0e639 -r 8d9d38f4611f external/gpl3/gdb/lib/libgdb/Makefile
--- a/external/gpl3/gdb/lib/libgdb/Makefile     Mon Sep 07 00:22:51 2020 +0000
+++ b/external/gpl3/gdb/lib/libgdb/Makefile     Mon Sep 07 00:24:17 2020 +0000
@@ -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 @@
        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= :}



Home | Main Index | Thread Index | Old Index