ceph/0002-Do-not-use-momit-leaf-frame-pointer-flag.patch
Boris Ranto e5a890ade4 New version (1:10.2.1-1)
- Disable erasure_codelib neon build
- Do not use -momit-leaf-frame-pointer flag
- Sync up spec file with upstream
2016-05-16 15:38:59 +02:00

31 lines
933 B
Diff

From da169786d04025c98a7727040e0f5dd5c02245c2 Mon Sep 17 00:00:00 2001
From: Boris Ranto <branto@redhat.com>
Date: Fri, 22 Apr 2016 15:30:22 +0200
Subject: [PATCH] Do not use -momit-leaf-frame-pointer flag
The -momit-leaf-frame-pointer flag that rocksdb is being built with does
not exist on armv7hl, this patch disables the flag.
Signed-off-by: Boris Ranto <branto@redhat.com>
---
src/rocksdb/Makefile | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/rocksdb/Makefile b/src/rocksdb/Makefile
index c64ea36..b3758a5 100644
--- a/src/rocksdb/Makefile
+++ b/src/rocksdb/Makefile
@@ -84,9 +84,6 @@ 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
-OPT += -momit-leaf-frame-pointer
-endif
endif
# if we're compiling for release, compile without debug code (-DNDEBUG) and
--
2.5.5