mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-30 08:04:04 +00:00
fixing Makefile for armv6k (#1790)
This commit is contained in:
parent
98b190c626
commit
668ab8b85c
@ -198,6 +198,11 @@ ifeq ($(CC_MACH),armv6kz)
|
|||||||
override DEFS+=-DZT_NO_TYPE_PUNNING
|
override DEFS+=-DZT_NO_TYPE_PUNNING
|
||||||
ZT_USE_ARM32_NEON_ASM_CRYPTO=1
|
ZT_USE_ARM32_NEON_ASM_CRYPTO=1
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(CC_MACH),armv6k)
|
||||||
|
ZT_ARCHITECTURE=3
|
||||||
|
override DEFS+=-DZT_NO_TYPE_PUNNING
|
||||||
|
ZT_USE_ARM32_NEON_ASM_CRYPTO=1
|
||||||
|
endif
|
||||||
ifeq ($(CC_MACH),armv7)
|
ifeq ($(CC_MACH),armv7)
|
||||||
ZT_ARCHITECTURE=3
|
ZT_ARCHITECTURE=3
|
||||||
override DEFS+=-DZT_NO_TYPE_PUNNING
|
override DEFS+=-DZT_NO_TYPE_PUNNING
|
||||||
@ -257,7 +262,7 @@ endif
|
|||||||
|
|
||||||
# Fail if system architecture could not be determined
|
# Fail if system architecture could not be determined
|
||||||
ifeq ($(ZT_ARCHITECTURE),999)
|
ifeq ($(ZT_ARCHITECTURE),999)
|
||||||
ERR=$(error FATAL: architecture could not be determined from $(CC) -dumpmachine: $CC_MACH)
|
ERR=$(error FATAL: architecture could not be determined from $(CC) -dumpmachine: $(CC_MACH))
|
||||||
.PHONY: err
|
.PHONY: err
|
||||||
err: ; $(ERR)
|
err: ; $(ERR)
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user