From 4cf53a251b20b84f7d2476aa241da3596a910bbf Mon Sep 17 00:00:00 2001 From: kellijohnson-NOAA Date: Thu, 21 Nov 2024 07:59:14 -0800 Subject: [PATCH] fix(Makevars): Removes c++17 flag In favor of USE_CXX17 = "yes". There is still a non-portable -w flag. --- src/Makevars | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makevars b/src/Makevars index 506bceeb3..fd413aa44 100644 --- a/src/Makevars +++ b/src/Makevars @@ -1,4 +1,4 @@ CXX_STD = CXX17 -PKG_CXXFLAGS = -std=c++17 -DTMB_MODEL -DTMB_EIGEN_DISABLE_WARNINGS -w +PKG_CXXFLAGS = -DTMB_MODEL -DTMB_EIGEN_DISABLE_WARNINGS -w CXX17STD = -std=c++17 -w - +USE_CXX17 = "yes"