From a135930b2d4a962c2ad3624a53258caba5903072 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jani=20V=C3=A4limaa?= Date: Sat, 2 Mar 2024 09:56:54 +0200 Subject: rpmrc: use -mtune=generic-armv7-a with armv7hl --- NEWS | 1 + rpmrc.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 05aaf1a..67df986 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,4 @@ +- rpmrc: use -mtune=generic-armv7-a with armv7hl - rpmrc: set aapcs-linux ARM ABI for armv7 arches - rpmrc: explicitly select 32-bit or 64-bit build on ix86 and x86_64 architectures - rpmrc: update build arch for i686 cabable arches diff --git a/rpmrc.in b/rpmrc.in index 93edc43..440a643 100644 --- a/rpmrc.in +++ b/rpmrc.in @@ -15,7 +15,7 @@ optflags: x86_64 %{__common_cflags_with_ssp} -m64 -fasynchronous-unwind-tables - optflags: armv7 %{__common_cflags_with_ssp} -march=armv7-a -mfpu=neon -mtune=cortex-a8 -mabi=aapcs-linux -mfloat-abi=softfp optflags: armv7l %{__common_cflags_with_ssp} -march=armv7-a -mfpu=neon -mtune=cortex-a8 -mabi=aapcs-linux -mfloat-abi=softfp -optflags: armv7hl %{__common_cflags_with_ssp} -march=armv7-a -mfpu=vfpv3-d16 -mabi=aapcs-linux -mfloat-abi=hard +optflags: armv7hl %{__common_cflags_with_ssp} -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard optflags: armv7hnl %{__common_cflags_with_ssp} -march=armv7-a -mfpu=neon -mabi=aapcs-linux -mfloat-abi=hard optflags: aarch64 %{__common_cflags_with_ssp} -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -- cgit v1.2.1