_omitting_archs
authorDebian BOINC Maintainers <pkg-boinc-devel@lists.alioth.debian.org>
Thu, 17 May 2018 08:09:59 +0000 (09:09 +0100)
committerGianfranco Costamagna <locutusofborg@debian.org>
Thu, 17 May 2018 08:09:59 +0000 (09:09 +0100)
Gbp-Pq: Name 006_omitting_archs.patch

m4/optimizations.m4

index 46fba0b1fc7732bc569e1e7929e9268444a3776f..3f127c4c008f31207fdb4eb26b0107219546f49c 100644 (file)
@@ -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