aboutsummaryrefslogblamecommitdiffstats
path: root/community/zerotier-one/make-linux.patch
blob: 6cccf43b8f6fb1c658f3c6a44b64415aa4478c40 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12

                   
                   








                                                                                                          
                                                                                                          
--- a/make-linux.mk
+++ b/make-linux.mk
@@ -278,8 +278,8 @@
 # ARM32 hell -- use conservative CFLAGS
 ifeq ($(ZT_ARCHITECTURE),3)
 	ifeq ($(shell if [ -e /usr/bin/dpkg ]; then dpkg --print-architecture; fi),armel)
-		override CFLAGS+=-march=armv5t -mfloat-abi=soft -msoft-float -mno-unaligned-access -marm
-		override CXXFLAGS+=-march=armv5t -mfloat-abi=soft -msoft-float -mno-unaligned-access -marm
+		override CFLAGS+=-march=armv6z -mfloat-abi=soft -msoft-float -mno-unaligned-access -marm
+		override CXXFLAGS+=-march=armv6z -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