aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2024-02-24 15:50:54 +0200
committerJani Välimaa <wally@mageia.org>2024-02-29 23:47:40 +0200
commit3beee1152f81c175816800aadfc33dccfe8e8dee (patch)
treeb4402ede4954ee4bdb1dc0ea95838485415a2893
parentaa82485400f95e8a64acaff9374a31d53dfe5e12 (diff)
downloadrpm-setup-3beee1152f81c175816800aadfc33dccfe8e8dee.tar
rpm-setup-3beee1152f81c175816800aadfc33dccfe8e8dee.tar.gz
rpm-setup-3beee1152f81c175816800aadfc33dccfe8e8dee.tar.bz2
rpm-setup-3beee1152f81c175816800aadfc33dccfe8e8dee.tar.xz
rpm-setup-3beee1152f81c175816800aadfc33dccfe8e8dee.zip
rpmrc: add SSE2 support to i686 default flags
Default compiler flags are now '-march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign'. -mstackrealign adds optimal backwards compatibility due to automatic stack realignment.
-rw-r--r--NEWS2
-rw-r--r--rpmrc.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index f0f75be..836e650 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- rpmrc: add SSE2 support to i686 default flags
+
Version 2.74.2 - 29 February 2024, by Jani Välimaa
- rpmrc: remove -fstack-clash-protection from armv7 default flags
diff --git a/rpmrc.in b/rpmrc.in
index 9ade0cd..89211cf 100644
--- a/rpmrc.in
+++ b/rpmrc.in
@@ -7,7 +7,7 @@
optflags: i386 %{__common_cflags_with_ssp} -fomit-frame-pointer -march=i386 -fasynchronous-unwind-tables -fstack-clash-protection
optflags: i486 %{__common_cflags_with_ssp} -fomit-frame-pointer -march=i486 -fasynchronous-unwind-tables -fstack-clash-protection
optflags: i586 %{__common_cflags_with_ssp} -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection
-optflags: i686 %{__common_cflags_with_ssp} -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full
+optflags: i686 %{__common_cflags_with_ssp} -fomit-frame-pointer -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full
optflags: athlon %{__common_cflags_with_ssp} -fomit-frame-pointer -march=athlon -fasynchronous-unwind-tables -fstack-clash-protection
optflags: x86_64 %{__common_cflags_with_ssp} -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full