mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-03-30 12:55:44 +00:00
fixed Debian 12 build
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user