mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: Add LLVM variant with RTTI support.
* gnu/packages/llvm.scm (llvm-with-rtti): New variable.
This commit is contained in:
parent
f0ad50af8c
commit
83c49858b5
1 changed files with 11 additions and 0 deletions
|
@ -85,6 +85,17 @@ (define-public llvm
|
|||
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")
|
||||
|
|
Loading…
Reference in a new issue