From 826e6fe137327d48140f8b310f385f8939aacec0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Villemot?= Date: Sun, 1 Nov 2020 09:47:26 +0000 Subject: [PATCH] Use flags suitable for armhf port when TARGET=ARMV6 Forwarded: not-needed Last-Update: 2015-04-29 See debian/rules for an explanation of why we can't use TARGET=ARMV7 on armhf. Also, if we don't explicitly set the -march and -mfpu flags, the resulting static libraries crash with SIGILL (reason not yet elucidated). Last-Update: 2015-04-29 Gbp-Pq: Name arm-gcc-flags.patch --- Makefile.arm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.arm b/Makefile.arm index fac6b56..eb75097 100644 --- a/Makefile.arm +++ b/Makefile.arm @@ -9,6 +9,6 @@ endif endif ifeq ($(CORE), ARMV6) -CCOMMON_OPT += -mfpu=vfp -FCOMMON_OPT += -mfpu=vfp +CCOMMON_OPT += -mfpu=vfpv3-d16 -march=armv7-a +FCOMMON_OPT += -mfpu=vfpv3-d16 -march=armv7-a endif -- 2.30.2