From e986383f774a02ae795e4a9a80fc023c12a66d8c Mon Sep 17 00:00:00 2001 From: clach04 Date: Wed, 8 Feb 2023 19:27:58 -0800 Subject: [PATCH] issue #470 - working 32-bit ARM --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 20915e3..558f17c 100644 --- a/Makefile +++ b/Makefile @@ -143,12 +143,12 @@ endif ifneq ($(filter aarch64%,$(UNAME_M)),) endif ifneq ($(filter armv6%,$(UNAME_M)),) - # Raspberry Pi 1, 2, 3 - CFLAGS += -mfpu=neon-fp-armv8 -mfp16-format=ieee -mno-unaligned-access + # 32-bit Raspberry Pi 1, 2, 3 + CFLAGS += -mfpu=neon -mfp16-format=ieee -mno-unaligned-access endif ifneq ($(filter armv7%,$(UNAME_M)),) - # Raspberry Pi 4 - CFLAGS += -mfpu=neon-fp-armv8 -mfp16-format=ieee -mno-unaligned-access -funsafe-math-optimizations + # 32-bit ARM, for example on Armbian or possibly raspbian + CFLAGS += -mfpu=neon -mfp16-format=ieee -mno-unaligned-access -funsafe-math-optimizations # works with small endif ifneq ($(filter armv8%,$(UNAME_M)),) # Raspberry Pi 4