diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2021-12-20 20:28:21 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2021-12-20 23:23:40 +0100 |
commit | 500d734b631cf90e328958f6240e0e9369381fa5 (patch) | |
tree | 692e8953dd53687d6645087d86c034367a849a5a /gnu/packages/databases.scm | |
parent | cbb7d81638d7ffc876d24efbaf9a87e33dbc0d59 (diff) | |
download | guix-500d734b631cf90e328958f6240e0e9369381fa5.tar.gz guix-500d734b631cf90e328958f6240e0e9369381fa5.zip |
gnu: leveldb: Remove --no-rtti flag.
* gnu/packages/databases.scm (leveldb)[arguments]: Patch CMakeLists.txt in
'allow-RTTI phase.
Diffstat (limited to 'gnu/packages/databases.scm')
-rw-r--r-- | gnu/packages/databases.scm | 6 |
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 _ |