aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/llvm.scm
diff options
context:
space:
mode:
authorGreg Hogan <code@greghogan.com>2022-04-21 19:13:50 +0000
committerMarius Bakke <marius@gnu.org>2022-09-01 23:37:12 +0200
commit6f8083e6ecbbb3c2907ebfa08d4ab498a2971c45 (patch)
treee252b623ef0a9ec2e6b61b84df5c95c52b7c3cd0 /gnu/packages/llvm.scm
parentf807d1795fbdc7e3c9e63df36114f332e6f7f304 (diff)
downloadguix-6f8083e6ecbbb3c2907ebfa08d4ab498a2971c45.tar
guix-6f8083e6ecbbb3c2907ebfa08d4ab498a2971c45.tar.gz
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>
Diffstat (limited to 'gnu/packages/llvm.scm')
-rw-r--r--gnu/packages/llvm.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 93a5227084..0e9cf771f7 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -594,7 +594,7 @@ output), and Binutils.")
"-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 @@ with that of libgomp, the GNU Offloading and Multi Processing Library.")
"-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"