diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-09-07 01:43:31 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-09-07 01:43:31 -0500 |
commit | 9141f86141909a370111e686585be47721968afc (patch) | |
tree | efbf8c284717461e87cbb5401f750eea92a75851 /lib | |
parent | be2135435535159abe0cd0c5198ea8fa7f39eeea (diff) | |
download | ulab-9141f86141909a370111e686585be47721968afc.tar.gz ulab-9141f86141909a370111e686585be47721968afc.zip |
Fix ffts FTBFS (again)
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/ffts/debian/rules | 10 |
1 files changed, 9 insertions, 1 deletions
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) |