[Pkg-ceph-commits] [ceph] 01/02: Use -mfloat-abi=softfp on armel for NEON plugin
Gaudenz Steinlin
gaudenz at moszumanska.debian.org
Thu Jan 5 13:12:22 UTC 2017
This is an automated email from the git hooks/post-receive script.
gaudenz pushed a commit to branch jewel
in repository ceph.
commit eeff8d65bad5c8e2bdf966bfe725b75d63aa9bc5
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
Closes: #849660
---
debian/patches/series | 2 ++
debian/patches/softfp-armel.patch | 12 ++++++++++++
2 files changed, 14 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
index e8dec41..6b6b57d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -13,6 +13,8 @@ sample.ceph.conf.patch
virtualenv-never-download.patch
# Testing patches
tests-disable.patch
+# Use correct compiler flags on armel
+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