git: 1bebef5c953a - stable/14 - Bump CXXSTD to C++17 with GoogleTest tests
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 22 Feb 2026 03:54:56 UTC
The branch stable/14 has been updated by ngie:
URL: https://cgit.FreeBSD.org/src/commit/?id=1bebef5c953a007244e16a9ba58a10e6137442b8
commit 1bebef5c953a007244e16a9ba58a10e6137442b8
Author: Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2026-02-22 03:51:59 +0000
Commit: Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-02-22 03:53:27 +0000
Bump CXXSTD to C++17 with GoogleTest tests
This change bumps the CXXSTD to C++17 with GoogleTest 1.17.0 requires
C++17 to function and 6527682ab7058e5023a was never MFCed.
This unbreaks the build on stable/14.
This is a direct commit to stable/14.
Fixes: 227baf32d ("GoogleTest: import 1.17.0")
---
share/mk/googletest.test.inc.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/share/mk/googletest.test.inc.mk b/share/mk/googletest.test.inc.mk
index 05415775448b..af28c5d05ecf 100644
--- a/share/mk/googletest.test.inc.mk
+++ b/share/mk/googletest.test.inc.mk
@@ -9,6 +9,6 @@ GTESTS_CXXFLAGS+= -frtti
# libgmock's, etc, headers.
CXXFLAGS+= -I${DESTDIR}${INCLUDEDIR}/private
-CXXSTD?= c++14
+CXXSTD?= c++17
NO_WTHREAD_SAFETY=