From 9141f86141909a370111e686585be47721968afc Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 7 Sep 2014 01:43:31 -0500 Subject: [PATCH] Fix ffts FTBFS (again) --- lib/ffts/debian/rules | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/ffts/debian/rules b/lib/ffts/debian/rules index 7ed0ac0..169d1c4 100755 --- a/lib/ffts/debian/rules +++ b/lib/ffts/debian/rules @@ -9,7 +9,15 @@ DEB_CONFIGURE_MANDIR := /usr/share/man DEB_CONFIGURE_PREFIX := /usr/ DEB_CONFIGURE_INFODIR := /usr/share/info -cdbs_configure_flags := --enable-single --enable-shared --disable-rpath +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +ifneq (,$(findstring x86_64-,$(DEB_BUILD_GNU_TYPE))) + cdbs_configure_flags := --enable-single --enable-sse --enable-shared --disable-rpath +else ifneq (,$(findstring arm-,$(DEB_BUILD_GNU_TYPE))) + cdbs_configure_flags := --enable-single --enable-neon --enable-shared --disable-rpath +else + cdbs_configure_flags := --enable-single --enable-shared --disable-rpath +endif DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2)