1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: Add LLVM variant with RTTI support.

* gnu/packages/llvm.scm (llvm-with-rtti): New variable.
This commit is contained in:
Ricardo Wurmus
2016-11-06 17:25:52 +01:00
parent f0ad50af8c
commit 83c49858b5

View File

@@ -85,6 +85,17 @@ languages is in development. The compiler infrastructure includes mirror sets
of programming tools as well as libraries with equivalent functionality.")
(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)
(package
(name "clang-runtime")