aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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