aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--rpmrc.in12
2 files changed, 7 insertions, 6 deletions
diff --git a/NEWS b/NEWS
index a88c428..10c7798 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- rpmrc: explicitly select 32-bit or 64-bit build on ix86 and x86_64 architectures
- rpmrc: update build arch for i686 cabable arches
- rpmrc: add SSE2 support to i686 default flags
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