mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-19 01:09:58 +00:00
use C++17 for newer versions of clang for BSD
This commit is contained in:
parent
25592a00b6
commit
4def0b6ea5
@ -13,6 +13,7 @@ else ifeq (${CXXVER}, "4.2.1") # older clang always returned 4.2.1
|
||||
NEEDED_CXXFLAGS = -std=c++11
|
||||
else # newer versions support C++17
|
||||
NEEDED_CXXFLAGS = -std=c++17
|
||||
endif
|
||||
DEFINES = -D_GLIBCXX_USE_NANOSLEEP=1
|
||||
INCFLAGS = -I/usr/include/ -I/usr/local/include/
|
||||
LDFLAGS = ${LD_DEBUG} -Wl,-rpath,/usr/local/lib -L/usr/local/lib
|
||||
|
Loading…
x
Reference in New Issue
Block a user