pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mk
Module Name: pkgsrc
Committed By: wiz
Date: Fri Dec 3 07:40:26 UTC 2021
Modified Files:
pkgsrc/mk: compiler.mk
Log Message:
mk: add c++20 and gnu++20
To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 pkgsrc/mk/compiler.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.mk
diff -u pkgsrc/mk/compiler.mk:1.95 pkgsrc/mk/compiler.mk:1.96
--- pkgsrc/mk/compiler.mk:1.95 Tue Jun 2 06:58:13 2020
+++ pkgsrc/mk/compiler.mk Fri Dec 3 07:40:26 2021
@@ -1,4 +1,4 @@
-# $NetBSD: compiler.mk,v 1.95 2020/06/02 06:58:13 rillig Exp $
+# $NetBSD: compiler.mk,v 1.96 2021/12/03 07:40:26 wiz Exp $
#
# This Makefile fragment implements handling for supported C/C++/Fortran
# compilers.
@@ -49,8 +49,9 @@
# visible to the build environment, installing them if
# necessary. Flags such as -std=c++99 are also added.
# Valid values are: c, c99, c++, c++03, gnu++03, c++0x, gnu++0x,
-# c++11, gnu++11, c++14, gnu++14, c++17, gnu++17, fortran,
-# fortran77, java, objc, obj-c++, and ada. The default is "c".
+# c++11, gnu++11, c++14, gnu++14, c++17, gnu++17, c++20, gnu++20,
+# fortran, fortran77, java, objc, obj-c++, and ada.
+# The default is "c".
#
# The above is partly aspirational. As an example c++11 does
# not force a new enough version of gcc.
@@ -87,7 +88,7 @@ USE_LANGUAGES?= c
USE_LANGUAGES+= c
.endif
-_CXX_STD_VERSIONS= gnu++17 c++17 gnu++14 c++14 gnu++11 c++11 gnu++0x c++0x gnu++03 c++03
+_CXX_STD_VERSIONS= gnu++20 c++20 gnu++17 c++17 gnu++14 c++14 gnu++11 c++11 gnu++0x c++0x gnu++03 c++03
.for _version_ in ${_CXX_STD_VERSIONS}
. if !empty(USE_LANGUAGES:M${_version_})
USE_LANGUAGES+= c++
Home |
Main Index |
Thread Index |
Old Index