mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-01 09:02:59 -05:00
gnu: llvm-14, llvm-12: Enable RTTI.
* gnu/packages/llvm.scm (llvm-14, llvm-12): Enable RTTI. [arguments]<#:configure-flags>: Switch to proper CMake flag. Signed-off-by: Marius Bakke <marius@gnu.org>
This commit is contained in:
parent
f807d1795f
commit
6f8083e6ec
1 changed files with 2 additions and 2 deletions
|
@ -594,7 +594,7 @@ (define-public llvm-14
|
|||
"-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE"
|
||||
"-DBUILD_SHARED_LIBS:BOOL=TRUE"
|
||||
"-DLLVM_ENABLE_FFI:BOOL=TRUE"
|
||||
"-DLLVM_REQUIRES_RTTI=1" ;for some third-party utilities
|
||||
"-DLLVM_ENABLE_RTTI:BOOL=TRUE" ;for some third-party utilities
|
||||
"-DLLVM_INSTALL_UTILS=ON") ;needed for rustc
|
||||
;; Don't use '-g' during the build, to save space.
|
||||
#:build-type "Release"
|
||||
|
@ -804,7 +804,7 @@ (define-public llvm-12
|
|||
"-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE"
|
||||
"-DBUILD_SHARED_LIBS:BOOL=TRUE"
|
||||
"-DLLVM_ENABLE_FFI:BOOL=TRUE"
|
||||
"-DLLVM_REQUIRES_RTTI=1" ; For some third-party utilities
|
||||
"-DLLVM_ENABLE_RTTI:BOOL=TRUE" ; For some third-party utilities
|
||||
"-DLLVM_INSTALL_UTILS=ON")) ; Needed for rustc.
|
||||
;; Don't use '-g' during the build, to save space.
|
||||
#:build-type "Release"
|
||||
|
|
Loading…
Reference in a new issue