From f20b7e8cee70e48bbe87d183ff5e93f0cc5d7013 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 30 Nov 2021 12:35:22 -0500 Subject: [PATCH] ARM32 flags update. --- RELEASE-NOTES.md | 6 +++--- make-linux.mk | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 9f2483ef8..4845c68af 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,13 +1,13 @@ ZeroTier Release Notes ====== -# 2021-11-23 -- Version 1.8.4 +# 2021-11-30 -- Version 1.8.4 - * Happy 🦃 week to our USA users! - * This release is now less of a 🦃 on 32-bit Windows and actually installs. * Fixed an ugly font problem on some older macOS versions. * Fixed a bug that could cause the desktop tray app control panel to stop opening after a while on Windows. * Fixed a possible double "release" in macOS tray app code that crashed on older macOS versions. + * Fixed installation on 32-bit Windows 10. + * Fixed a build flags issue that could cause ZeroTier to crash on older ARM32 CPUs. # 2021-11-15 -- Version 1.8.3 diff --git a/make-linux.mk b/make-linux.mk index 5ad9120cc..eea62f1db 100644 --- a/make-linux.mk +++ b/make-linux.mk @@ -286,8 +286,8 @@ ifeq ($(ZT_ARCHITECTURE),3) override CXXFLAGS+=-march=armv5t -mfloat-abi=soft -msoft-float -mno-unaligned-access -marm ZT_USE_ARM32_NEON_ASM_CRYPTO=0 else - override CFLAGS+=-mfloat-abi=hard -mfpu=vfp -mcpu=arm1176jzf-s -marm -mno-unaligned-access - override CXXFLAGS+=-mfloat-abi=hard -mfpu=vfp -mcpu=arm1176jzf-s -fexceptions -marm -mno-unaligned-access + override CFLAGS+=-mfloat-abi=hard -mfpu=vfp -march=armv6zk+fp -mcpu=arm1176jzf-s -mstructure-size-boundary=8 -marm -mno-unaligned-access + override CXXFLAGS+=-mfloat-abi=hard -mfpu=vfp -march=armv6zk+fp -mcpu=arm1176jzf-s -fexceptions -mstructure-size-boundary=8 -marm -mno-unaligned-access ZT_USE_ARM32_NEON_ASM_CRYPTO=0 endif endif