mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
Add support for armv7l
* GCC running on Raspberry Pi 3 on Arch linux ARM reports arch as armv7l-unknown-linux-gnueabihf
This commit is contained in:
parent
782b2b1514
commit
50aef368f6
1 changed files with 5 additions and 0 deletions
|
@ -130,6 +130,11 @@ ifeq ($(CC_MACH),armv7)
|
||||||
override DEFS+=-DZT_NO_TYPE_PUNNING
|
override DEFS+=-DZT_NO_TYPE_PUNNING
|
||||||
ZT_USE_ARM32_NEON_ASM_SALSA2012=1
|
ZT_USE_ARM32_NEON_ASM_SALSA2012=1
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(CC_MACH),armv7l)
|
||||||
|
ZT_ARCHITECTURE=3
|
||||||
|
override DEFS+=-DZT_NO_TYPE_PUNNING
|
||||||
|
ZT_USE_ARM32_NEON_ASM_SALSA2012=1
|
||||||
|
endif
|
||||||
ifeq ($(CC_MACH),arm64)
|
ifeq ($(CC_MACH),arm64)
|
||||||
ZT_ARCHITECTURE=4
|
ZT_ARCHITECTURE=4
|
||||||
override DEFS+=-DZT_NO_TYPE_PUNNING
|
override DEFS+=-DZT_NO_TYPE_PUNNING
|
||||||
|
|
Loading…
Add table
Reference in a new issue