diff options
author | Benjamin Drung <bdrung@ubuntu.com> | 2010-04-14 16:51:58 +0200 |
---|---|---|
committer | Benjamin Drung <bdrung@ubuntu.com> | 2010-04-14 16:51:58 +0200 |
commit | c62ebf3915c9d3815d34f19671050a27bb56fe1a (patch) | |
tree | 58741728f129d7aba6f3bd4a398101db9ac0d244 /debian/rules | |
parent | 5d901e115c30b7c9c5de7bbb115a49f84588a3d0 (diff) |
Disable SSE2 on i386 (LP: #562713).
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 8 |
1 files changed, 7 insertions, 1 deletions
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 |