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:   gdt
Date:           Tue Jul 23 13:57:04 UTC 2019

Modified Files:
        pkgsrc/mk: compiler.mk

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 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.93 pkgsrc/mk/compiler.mk:1.94
--- pkgsrc/mk/compiler.mk:1.93  Mon Jul 15 16:06:19 2019
+++ pkgsrc/mk/compiler.mk       Tue Jul 23 13:57:04 2019
@@ -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
 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