pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Wed Jul 24 23:01:28 UTC 2024

Modified Files:
        pkgsrc/lang/gcc12: Makefile.common
        pkgsrc/lang/gcc13: Makefile.common
        pkgsrc/lang/gcc14: Makefile.common

Log Message:
gcc(12|13|14): require C++11

As of GCC 11, C++11 is required to build some of its fundamental
components. Additionally, these components vary as to whether they
correctly check if it's required to pass std=c++11 or not (e.g.,
libcody does do so, libcpp does not).


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/gcc12/Makefile.common
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/gcc13/Makefile.common
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/gcc14/Makefile.common

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

Modified files:

Index: pkgsrc/lang/gcc12/Makefile.common
diff -u pkgsrc/lang/gcc12/Makefile.common:1.8 pkgsrc/lang/gcc12/Makefile.common:1.9
--- pkgsrc/lang/gcc12/Makefile.common:1.8       Fri Jun 28 19:16:00 2024
+++ pkgsrc/lang/gcc12/Makefile.common   Wed Jul 24 23:01:27 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.8 2024/06/28 19:16:00 adam Exp $
+# $NetBSD: Makefile.common,v 1.9 2024/07/24 23:01:27 gutteridge Exp $
 # used by lang/gcc12-libjit/Makefile
 
 GCC_PKGNAME=           gcc12
@@ -44,6 +44,8 @@ CONFIGURE_ARGS+=      --disable-libstdcxx-pch
 # error: 'for' loop initial declarations are only allowed in C99 mode
 USE_CC_FEATURES+=      c99
 FORCE_C_STD=           gnu99
+USE_CXX_FEATURES+=     c++11
+FORCE_CXX_STD=         c++11
 
 UNLIMIT_RESOURCES+=    datasize
 UNLIMIT_RESOURCES+=    stacksize

Index: pkgsrc/lang/gcc13/Makefile.common
diff -u pkgsrc/lang/gcc13/Makefile.common:1.7 pkgsrc/lang/gcc13/Makefile.common:1.8
--- pkgsrc/lang/gcc13/Makefile.common:1.7       Fri Jun  7 10:28:55 2024
+++ pkgsrc/lang/gcc13/Makefile.common   Wed Jul 24 23:01:28 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.7 2024/06/07 10:28:55 adam Exp $
+# $NetBSD: Makefile.common,v 1.8 2024/07/24 23:01:28 gutteridge Exp $
 # used by lang/gcc13-libjit/Makefile
 
 GCC_PKGNAME=           gcc13
@@ -44,6 +44,8 @@ CONFIGURE_ARGS+=      --disable-libstdcxx-pch
 # error: 'for' loop initial declarations are only allowed in C99 mode
 USE_CC_FEATURES+=      c99
 FORCE_C_STD=           gnu99
+USE_CXX_FEATURES+=     c++11
+FORCE_CXX_STD=         c++11
 
 UNLIMIT_RESOURCES+=    datasize
 UNLIMIT_RESOURCES+=    stacksize

Index: pkgsrc/lang/gcc14/Makefile.common
diff -u pkgsrc/lang/gcc14/Makefile.common:1.2 pkgsrc/lang/gcc14/Makefile.common:1.3
--- pkgsrc/lang/gcc14/Makefile.common:1.2       Fri Jun 28 19:26:03 2024
+++ pkgsrc/lang/gcc14/Makefile.common   Wed Jul 24 23:01:28 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2024/06/28 19:26:03 adam Exp $
+# $NetBSD: Makefile.common,v 1.3 2024/07/24 23:01:28 gutteridge Exp $
 # used by lang/gcc14-libjit/Makefile
 
 GCC_PKGNAME=           gcc14
@@ -44,6 +44,8 @@ CONFIGURE_ARGS+=      --disable-libstdcxx-pch
 # error: 'for' loop initial declarations are only allowed in C99 mode
 USE_CC_FEATURES+=      c99
 FORCE_C_STD=           gnu99
+USE_CXX_FEATURES+=     c++11
+FORCE_CXX_STD=         c++11
 
 UNLIMIT_RESOURCES+=    datasize
 UNLIMIT_RESOURCES+=    stacksize



Home | Main Index | Thread Index | Old Index