aboutsummaryrefslogtreecommitdiffstats
path: root/rpmrc.in
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2024-03-01 00:14:04 +0200
committerJani Välimaa <wally@mageia.org>2024-03-01 07:49:32 +0200
commit34217553244dab6bdd79802bb441956cc86892e9 (patch)
tree1ac9fe071574853b0d649615db1d9a43e37e9d3d /rpmrc.in
parentf038217852fba2f566bf0d8503caa92c94450365 (diff)
downloadrpm-setup-34217553244dab6bdd79802bb441956cc86892e9.tar
rpm-setup-34217553244dab6bdd79802bb441956cc86892e9.tar.gz
rpm-setup-34217553244dab6bdd79802bb441956cc86892e9.tar.bz2
rpm-setup-34217553244dab6bdd79802bb441956cc86892e9.tar.xz
rpm-setup-34217553244dab6bdd79802bb441956cc86892e9.zip
rpmrc: explicitly select 32-bit or 64-bit build on ix86 and x86_64 architectures
Diffstat (limited to 'rpmrc.in')
-rw-r--r--rpmrc.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/rpmrc.in b/rpmrc.in
index 3d55b76..71a6e2c 100644
--- a/rpmrc.in
+++ b/rpmrc.in
@@ -4,12 +4,12 @@
#############################################################
# Values for RPM_OPT_FLAGS for various platforms
-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 -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
+optflags: i386 %{__common_cflags_with_ssp} -fomit-frame-pointer -m32 -march=i386 -fasynchronous-unwind-tables -fstack-clash-protection
+optflags: i486 %{__common_cflags_with_ssp} -fomit-frame-pointer -m32 -march=i486 -fasynchronous-unwind-tables -fstack-clash-protection
+optflags: i586 %{__common_cflags_with_ssp} -fomit-frame-pointer -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection
+optflags: i686 %{__common_cflags_with_ssp} -fomit-frame-pointer -m32 -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 -m32 -march=athlon -fasynchronous-unwind-tables -fstack-clash-protection
+optflags: x86_64 %{__common_cflags_with_ssp} -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full
# Cortex A8
optflags: armv7 %{__common_cflags_with_ssp} -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp