You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.2 KiB

  1. From bfb1a652dbf897dc065d2a1414296eb145a2224b Mon Sep 17 00:00:00 2001
  2. From: Moritz Warning <moritzwarning@web.de>
  3. Date: Mon, 23 Apr 2018 22:31:03 +0200
  4. Subject: [PATCH 3/4] remove -march=armv5
  5. ---
  6. make-linux.mk | 8 ++++----
  7. 1 file changed, 4 insertions(+), 4 deletions(-)
  8. diff --git a/make-linux.mk b/make-linux.mk
  9. index add1d3ae..49e14f70 100644
  10. --- a/make-linux.mk
  11. +++ b/make-linux.mk
  12. @@ -229,12 +229,12 @@ endif
  13. # ARM32 hell -- use conservative CFLAGS
  14. ifeq ($(ZT_ARCHITECTURE),3)
  15. ifeq ($(shell if [ -e /usr/bin/dpkg ]; then dpkg --print-architecture; fi),armel)
  16. - override CFLAGS+=-march=armv5 -mfloat-abi=soft -msoft-float -mno-unaligned-access -marm
  17. - override CXXFLAGS+=-march=armv5 -mfloat-abi=soft -msoft-float -mno-unaligned-access -marm
  18. + override CFLAGS+=-mfloat-abi=soft -msoft-float -mno-unaligned-access -marm
  19. + override CXXFLAGS+=-mfloat-abi=soft -msoft-float -mno-unaligned-access -marm
  20. ZT_USE_ARM32_NEON_ASM_CRYPTO=0
  21. else
  22. - override CFLAGS+=-march=armv5 -mno-unaligned-access -marm
  23. - override CXXFLAGS+=-march=armv5 -mno-unaligned-access -marm
  24. + override CFLAGS+=-mno-unaligned-access -marm
  25. + override CXXFLAGS+=-mno-unaligned-access -marm
  26. endif
  27. endif
  28. --
  29. 2.17.0