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: Sun Mar 17 14:15:59 UTC 2024
Modified Files:
pkgsrc/mk/compiler: gcc-style-args.mk
Log Message:
mk: Some GCC versions don't have -std=c++03 but do understand -std=c++98
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/mk/compiler/gcc-style-args.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-style-args.mk
diff -u pkgsrc/mk/compiler/gcc-style-args.mk:1.4 pkgsrc/mk/compiler/gcc-style-args.mk:1.5
--- pkgsrc/mk/compiler/gcc-style-args.mk:1.4 Sat Jan 27 00:03:50 2024
+++ pkgsrc/mk/compiler/gcc-style-args.mk Sun Mar 17 14:15:59 2024
@@ -1,4 +1,4 @@
-# $NetBSD: gcc-style-args.mk,v 1.4 2024/01/27 00:03:50 wiz Exp $
+# $NetBSD: gcc-style-args.mk,v 1.5 2024/03/17 14:15:59 nia Exp $
#
# Some compilers (e.g. clang) share command line argument formats with GCC.
@@ -43,7 +43,7 @@ CWRAPPERS_APPEND.cc+= -std=${std}
.if !empty(FORCE_CXX_STD)
. for std in ${_GCC_CXX_DIALECTS}
. if !empty(FORCE_CXX_STD:M${std})
-CWRAPPERS_APPEND.cxx+= -std=${std}
+CWRAPPERS_APPEND.cxx+= -std=${std:S,++03,++98,g}
. endif
. endfor
.endif
Home |
Main Index |
Thread Index |
Old Index