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