From 3beee1152f81c175816800aadfc33dccfe8e8dee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jani=20V=C3=A4limaa?= Date: Sat, 24 Feb 2024 15:50:54 +0200 Subject: 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. --- NEWS | 2 ++ rpmrc.in | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1