mirror of
https://github.com/zerotier/pylon.git
synced 2026-05-22 16:28:21 -07:00
Fix building on macOs
At least my mac. prometheus needs c++11
This commit is contained in:
@@ -6,13 +6,13 @@ release:
|
||||
git submodule update --init
|
||||
git -C ext/libzt submodule update --init
|
||||
cd ext/libzt && ./build.sh host "release"
|
||||
$(CXX) -O3 $(INCLUDES) -Wno-deprecated pylon.cpp -o pylon ext/libzt/dist/*-host-release/lib/libzt.a -Iext/libzt/include
|
||||
$(CXX) -O3 $(INCLUDES) -Wno-deprecated -std=c++11 pylon.cpp -o pylon ext/libzt/dist/*-host-release/lib/libzt.a -Iext/libzt/include
|
||||
|
||||
debug:
|
||||
git submodule update --init
|
||||
git -C ext/libzt submodule update --init
|
||||
cd ext/libzt && ./build.sh host "debug"
|
||||
$(CXX) -O3 $(INCLUDES) -DPYLON_DEBUG=1 -g -Wno-deprecated pylon.cpp -o pylon-debug ext/libzt/dist/*-host-debug/lib/libzt.a -Iext/libzt/include
|
||||
$(CXX) -O3 $(INCLUDES) -DPYLON_DEBUG=1 -g -Wno-deprecated -std=c++11 pylon.cpp -o pylon-debug ext/libzt/dist/*-host-debug/lib/libzt.a -Iext/libzt/include
|
||||
#-fsanitize=address -DASAN_OPTIONS=symbolize=1
|
||||
|
||||
clean:
|
||||
@@ -20,4 +20,4 @@ clean:
|
||||
rm -f *.o tcp-proxy *.dSYM
|
||||
|
||||
fmt:
|
||||
clang-format -i pylon.cpp -style file
|
||||
clang-format -i pylon.cpp -style file
|
||||
|
||||
Reference in New Issue
Block a user