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
parent
f807d1795f
commit
6f8083e6ec
|
@ -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"
|
||||||
|
|
Reference in New Issue