The following commit has been merged in the master branch:
commit fc9894b3892d978ce14d6f081938779da78872e6
Author: Charles Plessy <[email protected]>
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

_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to