From 389340dbc58589bf10c105e3a368625eb2ce67f5 Mon Sep 17 00:00:00 2001 From: Debian BOINC Maintainers Date: Fri, 22 Jul 2016 03:04:55 +0000 Subject: [PATCH] _omitting_archs Gbp-Pq: Name 006_omitting_archs.patch --- m4/optimizations.m4 | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/m4/optimizations.m4 b/m4/optimizations.m4 index 46fba0b..3f127c4 100644 --- a/m4/optimizations.m4 +++ b/m4/optimizations.m4 @@ -28,9 +28,6 @@ if test x_$enable_sse2 = x_yes ; then # put compiler specific flags here if test x_$ac_cv_c_compiler_gnu = x_yes ; then CFLAGS="-msse2 ${CFLAGS}" - if test -z "echo $CFLAGS | grep march=" ; then - CFLAGS="-march=pentium4 ${CFLAGS}" - fi fi fi @@ -44,7 +41,7 @@ if test x_$enable_sse = x_yes ; then [Define to 1 if you want to use SSE optimizations]) # put compiler specific flags here if test x_$ac_cv_c_compiler_gnu = x_yes ; then - CFLAGS="-march=pentium3 -msse -mfpmath=sse ${CFLAGS}" + CFLAGS="-msse -mfpmath=sse ${CFLAGS}" fi fi @@ -58,7 +55,7 @@ if test x_$enable_mmx = x_yes ; then [Define to 1 if you want to use MMX optimizations]) # put compiler specific flags here if test x_$ac_cv_c_compiler_gnu = x_yes ; then - CFLAGS="-march=pentium2 -mmmx -mfpmath=387 ${CFLAGS}" + CFLAGS="-mmmx -mfpmath=387 ${CFLAGS}" fi fi @@ -73,7 +70,7 @@ if test x_$enable_3dnow = x_yes ; then [Define to 1 if you want to use 3D-Now optimizations]) # put compiler specific flags here if test x_$ac_cv_c_compiler_gnu = x_yes ; then - CFLAGS="-march=pentium2 -m3dnow -mfpmath=387 ${CFLAGS}" + CFLAGS="-m3dnow -mfpmath=387 ${CFLAGS}" fi fi -- 2.30.2