[Pkg-ceph-commits] [ceph] 02/02: Use -mfloat-abi=softfp on armel for NEON plugin
Gaudenz Steinlin
gaudenz at moszumanska.debian.org
Mon Jan 2 20:44:27 UTC 2017
This is an automated email from the git hooks/post-receive script.
gaudenz pushed a commit to branch jewel-fix-armel-mipsel-mips
in repository ceph.
commit f208f17dde7f6b19f0314f066e1570d8a95b51ec
Author: Gaudenz Steinlin <gaudenz at debian.org>
Date: Tue Dec 27 21:35:47 2016 +0100
Use -mfloat-abi=softfp on armel for NEON plugin
---
debian/patches/series | 1 +
debian/patches/softfp-armel.patch | 12 ++++++++++++
2 files changed, 13 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
index 0f791ee..472c7d4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -14,6 +14,7 @@ virtualenv-never-download.patch
# Testing patches
tests-disable.patch
build-without-rocksdb.patch
+softfp-armel.patch
## From Ubuntu
fix-cycles-arch.patch
diff --git a/debian/patches/softfp-armel.patch b/debian/patches/softfp-armel.patch
new file mode 100644
index 0000000..ff2fc4b
--- /dev/null
+++ b/debian/patches/softfp-armel.patch
@@ -0,0 +1,12 @@
+--- a/m4/ax_arm.m4
++++ b/m4/ax_arm.m4
+@@ -7,6 +7,9 @@
+ AX_CHECK_COMPILE_FLAG(-mfpu=neon, ax_cv_support_neon_ext=yes, [])
+ if test x"$ax_cv_support_neon_ext" = x"yes"; then
+ ARM_NEON_FLAGS="-mfpu=neon -DARM_NEON"
++ if test x"$target_os" = x"linux-gnueabi"; then
++ ARM_NEON_FLAGS="$ARM_NEON_FLAGS -mfloat-abi=softfp"
++ fi
+ AC_SUBST(ARM_NEON_FLAGS)
+ ARM_FLAGS="$ARM_FLAGS $ARM_NEON_FLAGS"
+ AC_DEFINE(HAVE_NEON,,[Support NEON instructions])
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ceph/ceph.git
More information about the Pkg-ceph-commits
mailing list