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 Always use C++17 string_view, t...



details:   https://anonhg.NetBSD.org/src/rev/d314b6306074
branches:  trunk
changeset: 1021416:d314b6306074
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun May 30 02:23:25 2021 +0000

description:
Always use C++17 string_view, the emulation is just broken.

diffstat:

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

diffs (18 lines):

diff -r 0a398fa9474b -r d314b6306074 external/gpl3/gdb/lib/libgdb/Makefile
--- a/external/gpl3/gdb/lib/libgdb/Makefile     Sun May 30 02:22:19 2021 +0000
+++ b/external/gpl3/gdb/lib/libgdb/Makefile     Sun May 30 02:23:25 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.29 2020/12/06 04:08:53 christos Exp $
+#      $NetBSD: Makefile,v 1.30 2021/05/30 02:23:25 joerg Exp $
 
 NOCTF=
 HOSTPROG_CXX=   1
@@ -47,7 +47,7 @@
 CWARNFLAGS.clang+=     -Wno-deprecated
 HOST_CC:=              ${HOST_CXX}
 CC:=                   ${CXX}
-CFLAGS:=               ${CXXFLAGS} -std=gnu++11 -Wno-error=stack-protector
+CFLAGS:=               ${CXXFLAGS} -std=gnu++17 -Wno-error=stack-protector
 
 .PATH: ${DIST}/gdb ${DIST}/gdb/arch ${DIST}/gdb/mi ${DIST}/gdb/cli  \
     ${DIST}/gdb/tui ${DIST}/gdb/python ${DIST}/gdb/common ${DIST}/gdb/target \



Home | Main Index | Thread Index | Old Index