From 34217553244dab6bdd79802bb441956cc86892e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jani=20V=C3=A4limaa?= Date: Fri, 1 Mar 2024 00:14:04 +0200 Subject: rpmrc: explicitly select 32-bit or 64-bit build on ix86 and x86_64 architectures --- rpmrc.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'rpmrc.in') 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 -- cgit v1.2.1