mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-17 10:19:49 +00:00
Minor tweak to linux makefile
This commit is contained in:
parent
28cb40529d
commit
f302fac423
@ -46,12 +46,16 @@ endif
|
|||||||
# Trying to use dynamically linked libhttp-parser causes tons of compatibility problems.
|
# Trying to use dynamically linked libhttp-parser causes tons of compatibility problems.
|
||||||
ONE_OBJS+=ext/http-parser/http_parser.o
|
ONE_OBJS+=ext/http-parser/http_parser.o
|
||||||
|
|
||||||
ifeq ($(ZT_TRACE),1)
|
# Build with address sanitization library for advanced debugging (clang)
|
||||||
override DEFS+=-DZT_TRACE
|
ifeq ($(ZT_SANITIZE),1)
|
||||||
|
DEFS+=-fsanitize=address -DASAN_OPTIONS=symbolize=1
|
||||||
endif
|
endif
|
||||||
ifeq ($(ZT_DEBUG_TRACE),1)
|
ifeq ($(ZT_DEBUG_TRACE),1)
|
||||||
DEFS+=-DZT_DEBUG_TRACE
|
DEFS+=-DZT_DEBUG_TRACE
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(ZT_TRACE),1)
|
||||||
|
DEFS+=-DZT_TRACE
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(ZT_RULES_ENGINE_DEBUGGING),1)
|
ifeq ($(ZT_RULES_ENGINE_DEBUGGING),1)
|
||||||
override DEFS+=-DZT_RULES_ENGINE_DEBUGGING
|
override DEFS+=-DZT_RULES_ENGINE_DEBUGGING
|
||||||
|
Loading…
Reference in New Issue
Block a user