[med-svn] [SCM] bwa branch, master, updated. debian/0.6.0-1-20-gcb199cf

Charles Plessy plessy at debian.org
Wed Nov 30 11:10:03 UTC 2011


The following commit has been merged in the master branch:
commit fc9894b3892d978ce14d6f081938779da78872e6
Author: Charles Plessy <plessy at debian.org>
Date:   Tue Nov 22 11:23:38 2011 +0900

    Pass -D_NO_SSE2 everywhere except on amd64.
    (cherry picked from commit 9410de3f25a7a8eb9098b619bb0fe3085d04c82e)

diff --git a/debian/rules b/debian/rules
index fda9c93..5493952 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,5 +3,13 @@
 %:
 	dh $@
 
+DEB_BUILD_ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
+DFLAGS := -DHAVE_PTHREAD
+
+ifneq ($(DEB_BUILD_ARCH), amd64)
+	DFLAGS += -D_NO_SSE2
+endif
+
 override_dh_auto_build:
-	dh_auto_build -- CFLAGS="-Wall $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)"
+	dh_auto_build -- CFLAGS="-Wall $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)" DFLAGS="$(DFLAGS)"

-- 
Burrows-Wheeler Aligner



More information about the debian-med-commit mailing list