summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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