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.

25 lines
811 B

  1. From a856855ab97e0775a08e1571a4ad26c264cb13f4 Mon Sep 17 00:00:00 2001
  2. From: Moritz Warning <moritzwarning@web.de>
  3. Date: Sun, 4 Aug 2019 03:56:37 +0200
  4. Subject: [PATCH 3/4] remove arm32 conservative CFLAGS
  5. ---
  6. make-linux.mk | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/make-linux.mk b/make-linux.mk
  9. index 13244741..fd164dfa 100644
  10. --- a/make-linux.mk
  11. +++ b/make-linux.mk
  12. @@ -262,7 +262,7 @@ ifeq ($(ZT_OFFICIAL),1)
  13. endif
  14. # ARM32 hell -- use conservative CFLAGS
  15. -ifeq ($(ZT_ARCHITECTURE),3)
  16. +ifeq (0,3)
  17. ifeq ($(shell if [ -e /usr/bin/dpkg ]; then dpkg --print-architecture; fi),armel)
  18. override CFLAGS+=-march=armv5 -mfloat-abi=soft -msoft-float -mno-unaligned-access -marm
  19. override CXXFLAGS+=-march=armv5 -mfloat-abi=soft -msoft-float -mno-unaligned-access -marm
  20. --
  21. 2.22.0