Module Name: src
Committed By: mrg
Date: Wed Jul 12 07:35:15 UTC 2023
Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc
Log Message:
don't force gnu++98 here.
fixes build issues seen with GCC 10.5, as well as hopefully ones reported
by Andrew Cagney on current-users.
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/external/gpl3/gcc/usr.bin/Makefile.inc
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/gcc/usr.bin/Makefile.inc
diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.35 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.36
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.35 Wed Feb 1 19:38:20 2023
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc Wed Jul 12 07:35:15 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.35 2023/02/01 19:38:20 mrg Exp $
+# $NetBSD: Makefile.inc,v 1.36 2023/07/12 07:35:15 mrg Exp $
.ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
_EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
@@ -41,8 +41,6 @@ FRONTENDOBJ!= cd ${.CURDIR}/../frontend
NBCOMPATLIB= -L${TOOLDIR}/lib -lnbcompat
.endif
-CXXFLAGS+= -std=gnu++98
-
# Reduce debugging for these extremely large objects.
.if ${MKDEBUG:Uno} != "no"
CXXFLAGS+= -g1