diff options
Diffstat (limited to 'net-misc/zerotier/files/zerotier-1.4.6-add-armv7a-support.patch')
-rw-r--r-- | net-misc/zerotier/files/zerotier-1.4.6-add-armv7a-support.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net-misc/zerotier/files/zerotier-1.4.6-add-armv7a-support.patch b/net-misc/zerotier/files/zerotier-1.4.6-add-armv7a-support.patch new file mode 100644 index 000000000000..802b1a873f58 --- /dev/null +++ b/net-misc/zerotier/files/zerotier-1.4.6-add-armv7a-support.patch @@ -0,0 +1,14 @@ +--- a/make-linux.mk 2019-09-05 11:02:16.000000000 -0700 ++++ b/make-linux.mk 2019-09-27 21:01:21.000000000 -0700 +@@ -195,6 +195,11 @@ + override DEFS+=-DZT_NO_TYPE_PUNNING + ZT_USE_ARM32_NEON_ASM_CRYPTO=1 + endif ++ifeq ($(CC_MACH),armv7a) ++ ZT_ARCHITECTURE=3 ++ override DEFS+=-DZT_NO_TYPE_PUNNING ++ ZT_USE_ARM32_NEON_ASM_CRYPTO=1 ++endif + ifeq ($(CC_MACH),armv7l) + ZT_ARCHITECTURE=3 + override DEFS+=-DZT_NO_TYPE_PUNNING |