aboutsummaryrefslogtreecommitdiffstats
path: root/rpmrc.in
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 /rpmrc.in
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.
Diffstat (limited to 'rpmrc.in')
-rw-r--r--rpmrc.in2
1 files changed, 1 insertions, 1 deletions
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