2021-11-11 22:46:48 +08:00
|
|
|
diff --git a/pkgs/development/compilers/llvm/12/llvm/default.nix b/pkgs/development/compilers/llvm/12/llvm/default.nix
|
|
|
|
index 41b7211b2a5..dfc707f034d 100644
|
|
|
|
--- a/pkgs/development/compilers/llvm/12/llvm/default.nix
|
|
|
|
+++ b/pkgs/development/compilers/llvm/12/llvm/default.nix
|
|
|
|
@@ -127,6 +127,7 @@ in stdenv.mkDerivation (rec {
|
|
|
|
"-DLLVM_HOST_TRIPLE=${stdenv.hostPlatform.config}"
|
|
|
|
"-DLLVM_DEFAULT_TARGET_TRIPLE=${stdenv.hostPlatform.config}"
|
|
|
|
"-DLLVM_ENABLE_DUMP=ON"
|
2021-11-11 23:44:14 +08:00
|
|
|
+ "-DLLVM_TARGETS_TO_BUILD=X86;ARM;RISCV"
|
2021-11-11 22:46:48 +08:00
|
|
|
] ++ optionals enableSharedLibraries [
|
|
|
|
"-DLLVM_LINK_LLVM_DYLIB=ON"
|
|
|
|
] ++ optionals enableManpages [
|