From c62ebf3915c9d3815d34f19671050a27bb56fe1a Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Wed, 14 Apr 2010 16:51:58 +0200 Subject: Disable SSE2 on i386 (LP: #562713). --- debian/rules | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 1aef09d..c96b067 100755 --- a/debian/rules +++ b/debian/rules @@ -1,12 +1,18 @@ #!/usr/bin/make -f +DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) + +ifeq ($(DEB_BUILD_ARCH),i386) +additional_confflags := --disable-sse2 +endif + %: dh $@ --parallel override_dh_auto_configure: ln -sf /usr/share/misc/config.sub . ln -sf /usr/share/misc/config.guess . - dh_auto_configure -- --disable-rpath --enable-chardet + dh_auto_configure -- --disable-rpath --enable-chardet $(additional_confflags) override_dh_auto_clean: dh_auto_clean -- cgit v1.2.3