summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/databases.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index da4c43d5dd..e81d4f0e74 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -485,6 +485,12 @@ database later.")
                    "-DBENCHMARK_ENABLE_INSTALL=OFF")
            #:phases
            #~(modify-phases %standard-phases
+               ;; Ceph uses leveldb and depends on RTTI.
+               (add-after 'unpack 'allow-RTTI
+                 (lambda _
+                   (substitute* "CMakeLists.txt"
+                     (("set\\(CMAKE_CXX_FLAGS \"\\$\\{CMAKE_CXX_FLAGS\\} -fno-rtti\"\\)")
+                      ""))))
                (add-after 'unpack 'unpack-third_party-sources
                  ;; These are only for testing, so copying source is fine.
                  (lambda _