mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-08 15:30:14 +03:00
gcc7 support
This commit is contained in:
parent
c21cf0565b
commit
56b8534e0c
@ -13,6 +13,9 @@ LDFLAGS ?= ${LD_DEBUG}
|
||||
CXXVER := $(shell $(CXX) -dumpversion)
|
||||
ifeq ($(shell expr match $(CXX) 'clang'),5)
|
||||
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
|
||||
NEEDED_CXXFLAGS += -std=c++17
|
||||
LDLIBS = -lstdc++fs
|
||||
|
Loading…
Reference in New Issue
Block a user