aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2024-03-02 09:56:54 +0200
committerJani Välimaa <wally@mageia.org>2024-03-02 09:56:54 +0200
commita135930b2d4a962c2ad3624a53258caba5903072 (patch)
tree987816bb5d099eb58d84b85c338892d27add1c1f
parent157b7a8e026514ea3b6f4550a6d504df113d3321 (diff)
downloadrpm-setup-a135930b2d4a962c2ad3624a53258caba5903072.tar
rpm-setup-a135930b2d4a962c2ad3624a53258caba5903072.tar.gz
rpm-setup-a135930b2d4a962c2ad3624a53258caba5903072.tar.bz2
rpm-setup-a135930b2d4a962c2ad3624a53258caba5903072.tar.xz
rpm-setup-a135930b2d4a962c2ad3624a53258caba5903072.zip
rpmrc: use -mtune=generic-armv7-a with armv7hl
-rw-r--r--NEWS1
-rw-r--r--rpmrc.in2
2 files changed, 2 insertions, 1 deletions
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