pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/compiler



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Aug  2 15:58:07 UTC 2023

Modified Files:
        pkgsrc/mk/compiler: gcc.mk

Log Message:
mk: Increase the required GCC version for std::filesystem.

Many packages don't know to link against stdc++fs.


To generate a diff of this commit:
cvs rdiff -u -r1.258 -r1.259 pkgsrc/mk/compiler/gcc.mk

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

Modified files:

Index: pkgsrc/mk/compiler/gcc.mk
diff -u pkgsrc/mk/compiler/gcc.mk:1.258 pkgsrc/mk/compiler/gcc.mk:1.259
--- pkgsrc/mk/compiler/gcc.mk:1.258     Sat Jul 29 17:55:47 2023
+++ pkgsrc/mk/compiler/gcc.mk   Wed Aug  2 15:58:07 2023
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.258 2023/07/29 17:55:47 nia Exp $
+# $NetBSD: gcc.mk,v 1.259 2023/08/02 15:58:07 nia Exp $
 #
 # This is the compiler definition for the GNU Compiler Collection.
 #
@@ -226,7 +226,12 @@ GCC_REQD+= 5
 .endif
 
 .if !empty(USE_CXX_FEATURES:Mfilesystem)
-GCC_REQD+=     8
+# GCC 7 supports filesystem under an experimental header, this is not
+# part of GCC 7 as shipped with NetBSD 9.
+#
+# GCC 8 supports filesystem with explicit linking to the libstdc++fs
+# library, which many packages do not do.
+GCC_REQD+=     10
 .endif
 
 .if !empty(USE_CXX_FEATURES:Mparallelism_ts)



Home | Main Index | Thread Index | Old Index