me
/
guix
Archived
1
0
Fork 0

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>
master
Greg Hogan 2022-04-21 19:13:50 +00:00 committed by Marius Bakke
parent f807d1795f
commit 6f8083e6ec
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 2 additions and 2 deletions

View File

@ -594,7 +594,7 @@ output), and Binutils.")
"-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE" "-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE"
"-DBUILD_SHARED_LIBS:BOOL=TRUE" "-DBUILD_SHARED_LIBS:BOOL=TRUE"
"-DLLVM_ENABLE_FFI: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 "-DLLVM_INSTALL_UTILS=ON") ;needed for rustc
;; Don't use '-g' during the build, to save space. ;; Don't use '-g' during the build, to save space.
#:build-type "Release" #:build-type "Release"
@ -804,7 +804,7 @@ with that of libgomp, the GNU Offloading and Multi Processing Library.")
"-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE" "-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE"
"-DBUILD_SHARED_LIBS:BOOL=TRUE" "-DBUILD_SHARED_LIBS:BOOL=TRUE"
"-DLLVM_ENABLE_FFI: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. "-DLLVM_INSTALL_UTILS=ON")) ; Needed for rustc.
;; Don't use '-g' during the build, to save space. ;; Don't use '-g' during the build, to save space.
#:build-type "Release" #:build-type "Release"