mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-24 06:04:16 +00:00
gcc7 support
This commit is contained in:
parent
c21cf0565b
commit
56b8534e0c
@ -13,6 +13,9 @@ LDFLAGS ?= ${LD_DEBUG}
|
|||||||
CXXVER := $(shell $(CXX) -dumpversion)
|
CXXVER := $(shell $(CXX) -dumpversion)
|
||||||
ifeq ($(shell expr match $(CXX) 'clang'),5)
|
ifeq ($(shell expr match $(CXX) 'clang'),5)
|
||||||
NEEDED_CXXFLAGS += -std=c++17
|
NEEDED_CXXFLAGS += -std=c++17
|
||||||
|
else ifeq ($(shell expr match ${CXXVER} "7"),1) # gcc 7
|
||||||
|
NEEDED_CXXFLAGS += -std=c++17
|
||||||
|
LDLIBS = -lboost_filesystem
|
||||||
else ifeq ($(shell expr match ${CXXVER} "[8-9]"),1) # gcc 8 - 9
|
else ifeq ($(shell expr match ${CXXVER} "[8-9]"),1) # gcc 8 - 9
|
||||||
NEEDED_CXXFLAGS += -std=c++17
|
NEEDED_CXXFLAGS += -std=c++17
|
||||||
LDLIBS = -lstdc++fs
|
LDLIBS = -lstdc++fs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user