mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03: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
|
NEEDED_CXXFLAGS = -std=c++11
|
||||||
else # newer versions support C++17
|
else # newer versions support C++17
|
||||||
NEEDED_CXXFLAGS = -std=c++17
|
NEEDED_CXXFLAGS = -std=c++17
|
||||||
|
endif
|
||||||
DEFINES = -D_GLIBCXX_USE_NANOSLEEP=1
|
DEFINES = -D_GLIBCXX_USE_NANOSLEEP=1
|
||||||
INCFLAGS = -I/usr/include/ -I/usr/local/include/
|
INCFLAGS = -I/usr/include/ -I/usr/local/include/
|
||||||
LDFLAGS = ${LD_DEBUG} -Wl,-rpath,/usr/local/lib -L/usr/local/lib
|
LDFLAGS = ${LD_DEBUG} -Wl,-rpath,/usr/local/lib -L/usr/local/lib
|
||||||
|
Loading…
Reference in New Issue
Block a user