mirror of
https://github.com/verilator/verilator.git
synced 2025-01-03 21:27:35 +00:00
Fix to use same std flag in Verilator and Verilated design (#3881)
This commit is contained in:
parent
a1160a85a3
commit
4d453c6822
@ -543,6 +543,10 @@ if test "$_my_result" = "no" ; then
|
||||
AC_MSG_CHECKING(whether $CXX supports C++11 with $CFG_CXXFLAGS_STD_NEWEST)
|
||||
_MY_CXX_CHECK_CXX_VER()
|
||||
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
|
||||
if test "$_my_result" = "no" ; then
|
||||
AC_MSG_NOTICE([[]])
|
||||
|
Loading…
Reference in New Issue
Block a user