Skip to content
Snippets Groups Projects
Unverified Commit 83c49858 authored by Ricardo Wurmus's avatar Ricardo Wurmus
Browse files

gnu: Add LLVM variant with RTTI support.

* gnu/packages/llvm.scm (llvm-with-rtti): New variable.
parent f0ad50af
No related branches found
No related tags found
No related merge requests found
...@@ -85,6 +85,17 @@ (define-public llvm ...@@ -85,6 +85,17 @@ (define-public llvm
of programming tools as well as libraries with equivalent functionality.") of programming tools as well as libraries with equivalent functionality.")
(license license:ncsa))) (license license:ncsa)))
(define-public llvm-with-rtti
(package (inherit llvm)
(name "llvm-with-rtti")
(arguments
(substitute-keyword-arguments (package-arguments llvm)
((#:configure-flags flags)
`(append '("-DCMAKE_SKIP_BUILD_RPATH=FALSE"
"-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE"
"-DLLVM_REQUIRES_RTTI=1")
,flags))))))
(define (clang-runtime-from-llvm llvm hash) (define (clang-runtime-from-llvm llvm hash)
(package (package
(name "clang-runtime") (name "clang-runtime")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment