Fix to use same std flag in Verilator and Verilated design (#3881)

This commit is contained in:
Kamil Rakoczy
2023-01-17 07:11:12 -05:00
committed by GitHub
parent a1160a85a3
commit 4d453c6822
+4
View File
@@ -543,6 +543,10 @@ if test "$_my_result" = "no" ; then
AC_MSG_CHECKING(whether $CXX supports C++11 with $CFG_CXXFLAGS_STD_NEWEST) AC_MSG_CHECKING(whether $CXX supports C++11 with $CFG_CXXFLAGS_STD_NEWEST)
_MY_CXX_CHECK_CXX_VER() _MY_CXX_CHECK_CXX_VER()
AC_MSG_RESULT($_my_result) AC_MSG_RESULT($_my_result)
else
# CFG_CXXFLAGS_STD_NEWEST is also propagated to include/verilated.mk.in
# make sure we use the same std flag while compiling verilator and verilated design
CFG_CXXFLAGS_STD_NEWEST=""
fi fi
if test "$_my_result" = "no" ; then if test "$_my_result" = "no" ; then
AC_MSG_NOTICE([[]]) AC_MSG_NOTICE([[]])