mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
zerotier: remove ARM32 conservative CFLAGS
OpenWrt toolchains already use correct CFLAGS for every ARM target There is no reason to use conservative CFLAGS now It also causes compile error with GCC 9.1.0 Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- a/make-linux.mk
|
||||
+++ b/make-linux.mk
|
||||
@@ -231,7 +231,7 @@ ifeq ($(ZT_OFFICIAL),1)
|
||||
endif
|
||||
|
||||
# ARM32 hell -- use conservative CFLAGS
|
||||
-ifeq ($(ZT_ARCHITECTURE),3)
|
||||
+ifeq (0,3)
|
||||
ifeq ($(shell if [ -e /usr/bin/dpkg ]; then dpkg --print-architecture; fi),armel)
|
||||
override CFLAGS+=-march=armv5 -mfloat-abi=soft -msoft-float -mno-unaligned-access -marm
|
||||
override CXXFLAGS+=-march=armv5 -mfloat-abi=soft -msoft-float -mno-unaligned-access -marm
|
||||
Reference in New Issue
Block a user