فهرست منبع

ARM32 flags update.

Adam Ierymenko 3 سال پیش
والد
کامیت
f20b7e8cee
2فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 3 3
      RELEASE-NOTES.md
  2. 2 2
      make-linux.mk

+ 3 - 3
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
 

+ 2 - 2
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