mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-31 16:35:26 +00:00
GitHub issue #219 -- make Linux makefile cross-compiler aware.
This commit is contained in:
parent
73e314cc1a
commit
33c132968e
@ -26,7 +26,7 @@ ifeq ($(origin CXX),default)
|
|||||||
CXX=$(shell if [ -e /usr/bin/clang++ ]; then echo clang++; else echo g++; fi)
|
CXX=$(shell if [ -e /usr/bin/clang++ ]; then echo clang++; else echo g++; fi)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
UNAME_M=$(shell uname -m)
|
UNAME_M=$(shell $(CC) -dumpmachine | cut -d '-' -f 1)
|
||||||
|
|
||||||
INCLUDES=
|
INCLUDES=
|
||||||
DEFS=-DZT_ENABLE_CLUSTER
|
DEFS=-DZT_ENABLE_CLUSTER
|
||||||
|
Loading…
x
Reference in New Issue
Block a user