pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk mk/compiler.mk: Add c++17
details: https://anonhg.NetBSD.org/pkgsrc/rev/ab55b200c6a9
branches: trunk
changeset: 336783:ab55b200c6a9
user: gdt <gdt%pkgsrc.org@localhost>
date: Tue Jul 23 13:57:04 2019 +0000
description:
mk/compiler.mk: Add c++17
We have a new language making its way into pkgsrc: C++17! Add gnu++17
and c++17 to the list of _CXX_STD_VERSIONS.
diffstat:
mk/compiler.mk | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 021ed2c43f38 -r ab55b200c6a9 mk/compiler.mk
--- a/mk/compiler.mk Tue Jul 23 13:16:09 2019 +0000
+++ b/mk/compiler.mk Tue Jul 23 13:57:04 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: compiler.mk,v 1.93 2019/07/15 16:06:19 ryoon Exp $
+# $NetBSD: compiler.mk,v 1.94 2019/07/23 13:57:04 gdt Exp $
#
# This Makefile fragment implements handling for supported C/C++/Fortran
# compilers.
@@ -45,8 +45,8 @@
# 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, fortran, fortran77, java, objc,
-# obj-c++, and ada. The default is "c".
+# c++11, gnu++11, c++14, gnu++14, c++17, gnu++17, 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.
@@ -83,7 +83,7 @@
USE_LANGUAGES+= c
.endif
-_CXX_STD_VERSIONS= gnu++14 c++14 gnu++11 c++11 gnu++0x c++0x gnu++03 c++03
+_CXX_STD_VERSIONS= 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