From 3aa278eed155cd2de399ebc3ff398de3ebbed791 Mon Sep 17 00:00:00 2001 From: orignal Date: Mon, 9 Mar 2026 17:25:24 -0400 Subject: [PATCH] fixed Debian 12 build --- Makefile.linux | 3 +++ 1 file changed, 3 insertions(+) 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