mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
temporary change back to C++17
This commit is contained in:
parent
a6f9a56e40
commit
e59ca8420e
@ -24,7 +24,8 @@ else ifeq ($(shell expr match ${CXXVER} "[7-9]"),1) # gcc 7 - 9
|
|||||||
NEEDED_CXXFLAGS += -std=c++17
|
NEEDED_CXXFLAGS += -std=c++17
|
||||||
LDLIBS = -latomic
|
LDLIBS = -latomic
|
||||||
else ifeq ($(shell expr match ${CXXVER} "1[0-9]"),2) # gcc 10 - 19
|
else ifeq ($(shell expr match ${CXXVER} "1[0-9]"),2) # gcc 10 - 19
|
||||||
NEEDED_CXXFLAGS += -std=c++20
|
# NEEDED_CXXFLAGS += -std=c++20
|
||||||
|
NEEDED_CXXFLAGS += -std=c++17
|
||||||
LDLIBS = -latomic
|
LDLIBS = -latomic
|
||||||
else # not supported
|
else # not supported
|
||||||
$(error Compiler too old)
|
$(error Compiler too old)
|
||||||
|
Loading…
Reference in New Issue
Block a user