Skip to content

Commit 3aa278e

Browse files
committed
fixed Debian 12 build
1 parent f32c01b commit 3aa278e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Makefile.linux

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ ifeq ($(shell expr match $(CXX) 'clang'),5)
1515
NEEDED_CXXFLAGS += -std=c++20
1616
else ifeq ($(shell expr match ${CXXVER} "10"),2) # gcc 10
1717
NEEDED_CXXFLAGS += -std=c++17
18+
else ifeq ($(shell expr match ${CXXVER} "12"),2) # gcc 12
19+
# for Debian 12 with boost 1.74
20+
NEEDED_CXXFLAGS += -std=c++17
1821
else ifeq ($(shell expr match ${CXXVER} "1[1-9]"),2) # gcc 11+
1922
NEEDED_CXXFLAGS += -std=c++20
2023
else # not supported

0 commit comments

Comments
 (0)