rustc: Fix build
Thanks @jonringer for catching, and sorry I didn't myself!
This commit is contained in:
parent
5de0e93838
commit
50b6631929
|
@ -88,9 +88,9 @@ in stdenv.mkDerivation rec {
|
||||||
"${setTarget}.cxx=${cxxForTarget}"
|
"${setTarget}.cxx=${cxxForTarget}"
|
||||||
] ++ optionals (!withBundledLLVM) [
|
] ++ optionals (!withBundledLLVM) [
|
||||||
"--enable-llvm-link-shared"
|
"--enable-llvm-link-shared"
|
||||||
"${setBuild}.llvm-config=${llvmSharedForBuild}/bin/llvm-config"
|
"${setBuild}.llvm-config=${llvmSharedForBuild.dev}/bin/llvm-config"
|
||||||
"${setHost}.llvm-config=${llvmSharedForHost}/bin/llvm-config"
|
"${setHost}.llvm-config=${llvmSharedForHost.dev}/bin/llvm-config"
|
||||||
"${setTarget}.llvm-config=${llvmSharedForTarget}/bin/llvm-config"
|
"${setTarget}.llvm-config=${llvmSharedForTarget.dev}/bin/llvm-config"
|
||||||
] ++ optionals (stdenv.isLinux && !stdenv.targetPlatform.isRedox) [
|
] ++ optionals (stdenv.isLinux && !stdenv.targetPlatform.isRedox) [
|
||||||
"--enable-profiler" # build libprofiler_builtins
|
"--enable-profiler" # build libprofiler_builtins
|
||||||
] ++ optionals stdenv.buildPlatform.isMusl [
|
] ++ optionals stdenv.buildPlatform.isMusl [
|
||||||
|
|
Loading…
Reference in New Issue