fixed Debian 12 build

This commit is contained in:
orignal
2026-03-09 17:25:24 -04:00
parent f32c01b286
commit 3aa278eed1

View File

@@ -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