omitting_archs
authorDebian BOINC Maintainers <pkg-boinc-devel@lists.alioth.debian.org>
Tue, 28 Aug 2012 03:05:07 +0000 (03:05 +0000)
committerGuo Yixuan <culu.gyx@gmail.com>
Tue, 28 Aug 2012 03:05:07 +0000 (03:05 +0000)
===================================================================

Gbp-Pq: Name omitting_archs.patch

m4/optimizations.m4

index 69f25051bb8ce6fbb6bc1f837f4bcf2c59c19368..8179cc9f8ce5b4aca336fcef030f7d55a9daf6fb 100644 (file)
@@ -13,7 +13,7 @@ if test x_$enable_sse3 = x_yes ; then
     [Define to 1 if you want to use SSE3 optimizations])
 # put compiler specific flags here
   if test x_$ac_cv_c_compiler_gnu = x_yes ; then
-    CFLAGS="-march=prescott -msse3  -mfpmath=sse ${CFLAGS}"
+    CFLAGS="-msse3  -mfpmath=sse ${CFLAGS}"
   fi
 fi
 
@@ -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 -mfpmath=sse ${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