pkgsrc-WIP-changes archive

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

gcc14-gnat: merge change from pkgsrc



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Sun Feb 16 11:30:07 2025 +0100
Changeset:	b3a66885755bc2728555923c6215c97462587343

Modified Files:
	gcc14-gnat/gcc.mk

Log Message:
gcc14-gnat: merge change from pkgsrc

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b3a66885755bc2728555923c6215c97462587343

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

diffstat:
 gcc14-gnat/gcc.mk | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diffs:
diff --git a/gcc14-gnat/gcc.mk b/gcc14-gnat/gcc.mk
index e8981ee27b..0dced3be63 100644
--- a/gcc14-gnat/gcc.mk
+++ b/gcc14-gnat/gcc.mk
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.284 2024/10/16 20:16:25 nia Exp $
+# $NetBSD: gcc.mk,v 1.286 2025/02/11 19:30:18 gdt Exp $
 #
 # This is the compiler definition for the GNU Compiler Collection.
 #
@@ -188,11 +188,9 @@ GCC_REQD+=     14
 
 .if !empty(USE_CXX_FEATURES:Mc++20)
 # gcc documents that 11 is required, with a few perhaps-obscure
-# features requiring 12.
-
-# 10 is the version included in netbsd-10.
-# We hope that it remains OK for most C++20 in the future...
-GCC_REQD+=	10
+# features requiring 12.  gcc10 does not define __cplusplus as meeting
+# c++20.
+GCC_REQD+=	12
 .endif
 
 .if !empty(USE_CXX_FEATURES:Mc++17)
@@ -966,7 +964,7 @@ _USE_GCC_SHLIB?=	no
 .  endif
 .elif !empty(_NEED_GCC14_GNAT:M[yY][eE][sS])
 #
-# We require Ada-capable compiler in the lang/gcc14-gnat directory.
+# We require Ada-capable compiler in the wip/gcc14-gnat directory.
 #
 _GCC_PKGBASE=		gcc14-gnat
 .  if ${PKGPATH} == wip/gcc14-gnat


Home | Main Index | Thread Index | Old Index