[Pkg-ceph-commits] [ceph] 17/41: Add patch to set g++ flags correctly for rocksdb

Gaudenz Steinlin gaudenz at moszumanska.debian.org
Mon Aug 15 21:27:04 UTC 2016


This is an automated email from the git hooks/post-receive script.

gaudenz pushed a commit to branch jewel-gaudenz
in repository ceph.

commit 94e5a30fe3ad09bbf1dab19e44290738fe7fd025
Author: James Page <james.page at ubuntu.com>
Date:   Fri Feb 26 22:55:22 2016 +0000

    Add patch to set g++ flags correctly for rocksdb
---
 debian/patches/rocksdb-ftbfs.patch | 17 +++++++++++++++++
 debian/patches/series              |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/rocksdb-ftbfs.patch b/debian/patches/rocksdb-ftbfs.patch
new file mode 100644
index 0000000..7a236e3
--- /dev/null
+++ b/debian/patches/rocksdb-ftbfs.patch
@@ -0,0 +1,17 @@
+Description: Misc fixups to make rocksdb work on anything other than x86
+Author: James Page <james.page at ubuntu.com>
+Forwarded: no
+
+--- a/src/rocksdb/Makefile
++++ b/src/rocksdb/Makefile
+@@ -84,7 +84,9 @@ endif
+ # compile with -O2 if debug level is not 2
+ ifneq ($(DEBUG_LEVEL), 2)
+ OPT += -O2 -fno-omit-frame-pointer
+-ifneq ($(MACHINE),ppc64) # ppc64 doesn't support -momit-leaf-frame-pointer
++# Skip for archs that don't support -momit-leaf-frame-pointer
++no_omit_leaf_frame_pointer = ppc ppc64 ppc64le armv7l
++ifeq (,$(filter $(MACHINE), $(no_omit_leaf_frame_pointer)))
+ OPT += -momit-leaf-frame-pointer
+ endif
+ endif
diff --git a/debian/patches/series b/debian/patches/series
index 025ff18..52f4c65 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -13,3 +13,4 @@ tests-disable.patch
 
 ## From Ubuntu
 fix-cycles-arch.patch
+rocksdb-ftbfs.patch

-- 
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