--- src/Makevars.in 2024-07-29 20:43:41.000000000 +0800 +++ src/Makevars.in 2024-08-08 11:13:27.000000000 +0800 @@ -3,7 +3,7 @@ # Copyright 2008 - 2024 Dirk Eddelbuettel # See configure.in for how these variables are computed -PKG_CXXFLAGS=@PKG_CXXFLAGS@ -I../inst/include -I. $(SHLIB_OPENMP_CXXFLAGS) +PKG_CXXFLAGS=@PKG_CXXFLAGS@ -I../inst/include -I. -D_GLIBCXX_USE_CXX11_ABI=0 $(SHLIB_OPENMP_CXXFLAGS) PKG_LIBS=@PKG_LIBS@ $(SHLIB_OPENMP_CXXFLAGS) # Use C++14 with QuantLib 1.28 or later -- and the default with R 4.2.* anyway