[SCM] SETI at home packaging branch, master, updated. debian/6.12_svn1305-2-38-g82cb472

Steffen Moeller steffen_moeller at gmx.de
Wed Aug 15 12:43:19 UTC 2012


The following commit has been merged in the master branch:
commit 3052f5f4179863364069f15516ae03cbc3eb0e8c
Author: Steffen Moeller <steffen_moeller at gmx.de>
Date:   Wed Aug 15 14:32:44 2012 +0200

    Not setting -march with -msse*

diff --git a/.gitignore b/.gitignore
index 224e7f0..4d8721a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 .pc/
+.*.o
diff --git a/debian/patches/omitting_archs.patch b/debian/patches/omitting_archs.patch
new file mode 100644
index 0000000..31b1fbc
--- /dev/null
+++ b/debian/patches/omitting_archs.patch
@@ -0,0 +1,50 @@
+Index: boinc-app-seti/m4/optimizations.m4
+===================================================================
+--- boinc-app-seti.orig/m4/optimizations.m4	2012-08-12 11:22:39.746042577 +0200
++++ boinc-app-seti/m4/optimizations.m4	2012-08-15 14:17:23.807993057 +0200
+@@ -13,7 +13,7 @@
+     [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 @@
+ # 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 @@
+     [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 @@
+     [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 @@
+     [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
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 574d9db..61e0a69 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@
 210_fix_fgets_warning.patch
 211_give_stderr_some_output.patch
 212_increase_buffers.patch
+omitting_archs.patch

-- 
SETI at home packaging



More information about the pkg-boinc-commits mailing list