Fix compiling on Raspberry PI Zero W on Arch Linux

* Should also fix it for Raspberry PI 1
* "gcc -dumpmachine | cut -d '-' -f 1" reports armv6l
This commit is contained in:
Aleksandar Topuzović 2019-07-01 14:56:02 +01:00
parent 99c3f02343
commit 9ccbe85923
No known key found for this signature in database
GPG Key ID: 8D7CDD3C562180B7

View File

@ -156,6 +156,11 @@ ifeq ($(CC_MACH),armv6)
override DEFS+=-DZT_NO_TYPE_PUNNING
ZT_USE_ARM32_NEON_ASM_CRYPTO=1
endif
ifeq ($(CC_MACH),armv6l)
ZT_ARCHITECTURE=3
override DEFS+=-DZT_NO_TYPE_PUNNING
ZT_USE_ARM32_NEON_ASM_CRYPTO=1
endif
ifeq ($(CC_MACH),armv6zk)
ZT_ARCHITECTURE=3
override DEFS+=-DZT_NO_TYPE_PUNNING