summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2016-10-02 17:29:17 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2016-10-02 17:29:17 -0500
commitdb047c23a6b751e9681e1d2210e093bbf3c9d068 (patch)
treebe834c13bc89d8e6b154a17f0a3f99bb6019040a
parent835eebc8ecd9759e4e021ef644cbffface70d8b6 (diff)
downloadulab-db047c23a6b751e9681e1d2210e093bbf3c9d068.zip
ulab-db047c23a6b751e9681e1d2210e093bbf3c9d068.tar.gz
Pass correct options to FFTS ARM builds
-rwxr-xr-xlib/ffts/debian/rules6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/ffts/debian/rules b/lib/ffts/debian/rules
index fe423d8..070c5fd 100755
--- a/lib/ffts/debian/rules
+++ b/lib/ffts/debian/rules
@@ -21,7 +21,11 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
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
+ ifneq(,$(findstring armhf,$(DEB_HOST_ARCH)))
+ cdbs_configure_flags := --enable-single --enable-neon --float_abi=hard --enable-shared --disable-rpath
+ else
+else ifneq (,$(findstring aarch64-,$(DEB_BUILD_GNU_TYPE)))
+ cdbs_configure_flags := --enable-single --enable-neon --float_abi=hard --enable-shared --disable-rpath
else
cdbs_configure_flags := --enable-single --enable-shared --disable-rpath
endif