mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-26 11:29:58 +00:00
Added -fPIC for Synology builds
This commit is contained in:
parent
0c60963a94
commit
d01b1ffde5
@ -42,14 +42,6 @@ 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_SYNOLOGY), 1)
|
|
||||||
override DEFS+=-D__SYNOLOGY__
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(ZT_QNAP), 1)
|
|
||||||
override DEFS+=-D__QNAP__
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(ZT_TRACE),1)
|
ifeq ($(ZT_TRACE),1)
|
||||||
override DEFS+=-DZT_TRACE
|
override DEFS+=-DZT_TRACE
|
||||||
endif
|
endif
|
||||||
@ -80,6 +72,15 @@ else
|
|||||||
STRIP+=--strip-all
|
STRIP+=--strip-all
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(ZT_QNAP), 1)
|
||||||
|
override DEFS+=-D__QNAP__
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(ZT_SYNOLOGY), 1)
|
||||||
|
CXXFLAGS+=-fPIC
|
||||||
|
override DEFS+=-D__SYNOLOGY__
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(ZT_TRACE),1)
|
ifeq ($(ZT_TRACE),1)
|
||||||
override DEFS+=-DZT_TRACE
|
override DEFS+=-DZT_TRACE
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user