CVS commit: src/external/gpl3/gcc/usr.bin/host-libcpp

2024-07-11 Thread Christoph Badura
Module Name:src
Committed By:   bad
Date:   Thu Jul 11 13:00:38 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin/host-libcpp: Makefile

Log Message:
external/gpl3/gcc/usr.bin/host-libcpp/Makefile: force std=c++11

GCC >= 11 now requires C++11 to build.  In particular libcpp requires C++11.
c.f tools/gcc/Makefile r1.113.

Noticed by compiling with clang as host compiler on macOS >= 12.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/host-libcpp/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/gcc/usr.bin/host-libcpp/Makefile
diff -u src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.6 src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.7
--- src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.6	Fri May 19 10:42:34 2023
+++ src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile	Thu Jul 11 13:00:37 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2023/05/19 10:42:34 lukem Exp $
+#	$NetBSD: Makefile,v 1.7 2024/07/11 13:00:37 bad Exp $
 
 BUILD_ENV= \
 		AR=${HOST_AR:Q} \
@@ -19,6 +19,9 @@ BUILD_ENV= \
 		RANLIB=${HOST_RANLIB:Q} \
 		YACC=${YACC:Q}
 
+# libcpp needs a C++11 compiler
+HOST_CXXFLAGS+= -std=c++11
+
 GMAKE_J_ARGS?=	${MAKEFLAGS:[*]:M*-j*:C/(^|.* )(-j ?[0-9][0-9]*).*/\2/W}
 BUILD_COMMAND=	/usr/bin/env -i ${BUILD_ENV} ${TOOL_GMAKE} ${GMAKE_J_ARGS} -e
 



CVS commit: src/external/gpl3/gcc/usr.bin/host-libcpp

2024-07-11 Thread Christoph Badura
Module Name:src
Committed By:   bad
Date:   Thu Jul 11 13:00:38 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin/host-libcpp: Makefile

Log Message:
external/gpl3/gcc/usr.bin/host-libcpp/Makefile: force std=c++11

GCC >= 11 now requires C++11 to build.  In particular libcpp requires C++11.
c.f tools/gcc/Makefile r1.113.

Noticed by compiling with clang as host compiler on macOS >= 12.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



re: CVS commit: src/external/gpl3/gcc/usr.bin/host-libcpp

2020-06-24 Thread matthew green
> Modified Files:
>   src/external/gpl3/gcc/usr.bin/host-libcpp: Makefile
> 
> Log Message:
> PR bin/55411 (Akihiko HAYASHI)
> 
> Remove stray ``&&'' introduced in the previous revision, so that
> host tools are correctly passed to configure script.
> 
> No similar problem for gcc.old. No release branches are affected.

thanks!


CVS commit: src/external/gpl3/gcc/usr.bin/host-libcpp

2020-06-23 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Wed Jun 24 05:06:08 UTC 2020

Modified Files:
src/external/gpl3/gcc/usr.bin/host-libcpp: Makefile

Log Message:
PR bin/55411 (Akihiko HAYASHI)

Remove stray ``&&'' introduced in the previous revision, so that
host tools are correctly passed to configure script.

No similar problem for gcc.old. No release branches are affected.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/host-libcpp/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/gcc/usr.bin/host-libcpp/Makefile
diff -u src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.4 src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.5
--- src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.4	Thu Nov 14 09:27:08 2019
+++ src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile	Wed Jun 24 05:06:08 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.4 2019/11/14 09:27:08 mrg Exp $
+#	$NetBSD: Makefile,v 1.5 2020/06/24 05:06:08 rin Exp $
 
 BUILD_ENV= \
 		AR=${HOST_AR:Q} \
@@ -24,7 +24,7 @@ BUILD_COMMAND=	/usr/bin/env -i ${BUILD_E
 
 libcpp/libcpp.a:
 	[ ! -d libcpp ] && mkdir libcpp || true
-	(cd libcpp && ${BUILD_ENV} && \
+	(cd libcpp && ${BUILD_ENV} \
 		${HOST_SH} ${DIST}/libcpp/configure -v am_cv_func_iconv=no \
 		&& ${BUILD_COMMAND})
 



CVS commit: src/external/gpl3/gcc/usr.bin/host-libcpp

2020-06-23 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Wed Jun 24 05:06:08 UTC 2020

Modified Files:
src/external/gpl3/gcc/usr.bin/host-libcpp: Makefile

Log Message:
PR bin/55411 (Akihiko HAYASHI)

Remove stray ``&&'' introduced in the previous revision, so that
host tools are correctly passed to configure script.

No similar problem for gcc.old. No release branches are affected.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/host-libcpp

2019-11-14 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Nov 14 09:27:09 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/host-libcpp: Makefile

Log Message:
duplicate a some of Makefile.gnuhost.

should fix PR#53561.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/usr.bin/host-libcpp/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/gcc/usr.bin/host-libcpp/Makefile
diff -u src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.3 src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.4
--- src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.3	Mon Jun 26 17:38:10 2017
+++ src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile	Thu Nov 14 09:27:08 2019
@@ -1,14 +1,32 @@
-#	$NetBSD: Makefile,v 1.3 2017/06/26 17:38:10 joerg Exp $
+#	$NetBSD: Makefile,v 1.4 2019/11/14 09:27:08 mrg Exp $
 
-libcpp/libcpp.a:
-	[ ! -d libcpp ] && mkdir libcpp || true
-	(cd libcpp; \
-		CC=${HOST_CC:Q} CXX=${HOST_CXX:Q}  \
+BUILD_ENV= \
+		AR=${HOST_AR:Q} \
+		AWK=${TOOL_AWK:Q} \
+		CC=${HOST_CC:Q} \
 		CFLAGS=${HOST_CFLAGS:Q} \
-		MAKE=${TOOL_GMAKE:Q} \
 		CONFIG_SHELL=${HOST_SH:Q} \
+		CPPFLAGS=${HOST_CPPFLAGS:Q} \
+		CXX=${HOST_CXX:Q} \
+		CXXFLAGS=${HOST_CXXFLAGS:Q} \
+		INSTALL=${HOST_INSTALL_FILE:Q} \
+		LDFLAGS=${HOST_LDFLAGS:Q} \
+		LEX=${LEX:Q} \
+		FLEX=${LEX:Q} \
+		M4=${TOOL_M4:Q} \
+		MAKE=${TOOL_GMAKE:Q} \
+		PATH="${TOOLDIR}/bin:$$PATH" \
+		RANLIB=${HOST_RANLIB:Q} \
+		YACC=${YACC:Q}
+
+GMAKE_J_ARGS?=	${MAKEFLAGS:[*]:M*-j*:C/.*(-j ?[0-9]*).*/\1/W}
+BUILD_COMMAND=	/usr/bin/env -i ${BUILD_ENV} ${TOOL_GMAKE} ${GMAKE_J_ARGS} -e
+
+libcpp/libcpp.a:
+	[ ! -d libcpp ] && mkdir libcpp || true
+	(cd libcpp && ${BUILD_ENV} && \
 		${HOST_SH} ${DIST}/libcpp/configure -v am_cv_func_iconv=no \
-		&& CC=${HOST_CC:Q} CXX=${HOST_CXX:Q} CFLAGS=${HOST_CFLAGS:Q} ${TOOL_GMAKE})
+		&& ${BUILD_COMMAND})
 
 cleandir:
 	-rm -rf libcpp



CVS commit: src/external/gpl3/gcc/usr.bin/host-libcpp

2019-11-14 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Nov 14 09:27:09 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/host-libcpp: Makefile

Log Message:
duplicate a some of Makefile.gnuhost.

should fix PR#53561.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/host-libcpp

2016-08-14 Thread Thor Lancelot Simon
Module Name:src
Committed By:   tls
Date:   Sun Aug 14 16:04:50 UTC 2016

Modified Files:
src/external/gpl3/gcc/usr.bin/host-libcpp: Makefile

Log Message:
Disable iconv in host-libcpp autoconf: fixes build on Mac OS X.
Thanks to joerg@ for the diagnosis and proposed fix.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/host-libcpp

2016-08-14 Thread Thor Lancelot Simon
Module Name:src
Committed By:   tls
Date:   Sun Aug 14 16:04:50 UTC 2016

Modified Files:
src/external/gpl3/gcc/usr.bin/host-libcpp: Makefile

Log Message:
Disable iconv in host-libcpp autoconf: fixes build on Mac OS X.
Thanks to joerg@ for the diagnosis and proposed fix.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/host-libcpp/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/gcc/usr.bin/host-libcpp/Makefile
diff -u src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.1 src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.2
--- src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.1	Tue Mar 15 19:14:47 2016
+++ src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile	Sun Aug 14 16:04:50 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2016/03/15 19:14:47 mrg Exp $
+#	$NetBSD: Makefile,v 1.2 2016/08/14 16:04:50 tls Exp $
 
 libcpp/libcpp.a:
 	[ ! -d libcpp ] && mkdir libcpp || true
@@ -7,7 +7,7 @@ libcpp/libcpp.a:
 		CFLAGS=${HOST_CFLAGS:Q} \
 		MAKE=${TOOL_GMAKE:Q} \
 		CONFIG_SHELL=${HOST_SH:Q} \
-		${HOST_SH} ${DIST}/libcpp/configure \
+		${HOST_SH} ${DIST}/libcpp/configure -v am_cv_func_iconv=no \
 		&& CC=${HOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} ${TOOL_GMAKE})
 
 cleandir: