From: Sébastien Villemot Date: Mon, 10 Mar 2025 18:55:28 +0000 (-0400) Subject: Use flags suitable for armhf port when TARGET=ARMV6 X-Git-Tag: archive/raspbian/0.3.29+ds-3+rpi1^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=51f45283d6beacc44c3b7590e2156526337051d7;p=openblas.git 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 --- diff --git a/Makefile.arm b/Makefile.arm index a27b58e..2b589fa 100644 --- a/Makefile.arm +++ b/Makefile.arm @@ -9,8 +9,8 @@ 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 ifdef HAVE_NEON