From 7e4760a7e4a59138417b8b490a938f5deb1e52e6 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Tue, 10 Jan 2023 07:12:23 -0500 Subject: [PATCH] Commentary (#3847) --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index d4ed7b54c..07d54be77 100644 --- a/configure.ac +++ b/configure.ac @@ -532,6 +532,8 @@ AC_DEFUN([_MY_CXX_CHECK_CXX_VER], [_my_result=no]) ]) +# Add $CFG_CXXFLAGS_STD_NEWEST only if can't compile correctly otherwise, +# as adding std= when not needed can cause errors with the C++ std library. AC_MSG_CHECKING(whether $CXX supports C++11) _MY_CXX_CHECK_CXX_VER() AC_MSG_RESULT($_my_result)