From 157b7a8e026514ea3b6f4550a6d504df113d3321 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jani=20V=C3=A4limaa?= Date: Sat, 2 Mar 2024 09:53:24 +0200 Subject: rpmrc: set aapcs-linux ARM ABI for armv7 arches --- NEWS | 1 + rpmrc.in | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index 10c7798..05aaf1a 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,4 @@ +- 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 - rpmrc: add SSE2 support to i686 default flags diff --git a/rpmrc.in b/rpmrc.in index 2564295..93edc43 100644 --- a/rpmrc.in +++ b/rpmrc.in @@ -12,11 +12,11 @@ optflags: athlon %{__common_cflags_with_ssp} -fomit-frame-pointer -m32 -march=at optflags: x86_64 %{__common_cflags_with_ssp} -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full # Cortex A8 -optflags: armv7 %{__common_cflags_with_ssp} -march=armv7-a -mfpu=neon -mtune=cortex-a8 -mfloat-abi=softfp -optflags: armv7l %{__common_cflags_with_ssp} -march=armv7-a -mfpu=neon -mtune=cortex-a8 -mfloat-abi=softfp +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 -mfloat-abi=hard -optflags: armv7hnl %{__common_cflags_with_ssp} -march=armv7-a -mfpu=neon -mfloat-abi=hard +optflags: armv7hl %{__common_cflags_with_ssp} -march=armv7-a -mfpu=vfpv3-d16 -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