diff --git a/Makefile.linux b/Makefile.linux index e5c9d8a8..d669e43b 100644 --- a/Makefile.linux +++ b/Makefile.linux @@ -15,6 +15,9 @@ ifeq ($(shell expr match $(CXX) 'clang'),5) NEEDED_CXXFLAGS += -std=c++20 else ifeq ($(shell expr match ${CXXVER} "10"),2) # gcc 10 NEEDED_CXXFLAGS += -std=c++17 +else ifeq ($(shell expr match ${CXXVER} "12"),2) # gcc 12 +# for Debian 12 with boost 1.74 + NEEDED_CXXFLAGS += -std=c++17 else ifeq ($(shell expr match ${CXXVER} "1[1-9]"),2) # gcc 11+ NEEDED_CXXFLAGS += -std=c++20 else # not supported