forked from mirrors/nixpkgs
llvm-3.8: don't set triples a second time on musl
I should have "moved" the flags instead of "copying" them earlier :).
This commit is contained in:
parent
c5e90a9292
commit
632624691d
|
@ -90,9 +90,6 @@ in stdenv.mkDerivation rec {
|
|||
"-DLLVM_ENABLE_LIBCXX=ON"
|
||||
"-DCAN_TARGET_i386=false"
|
||||
] ++ stdenv.lib.optionals stdenv.hostPlatform.isMusl [
|
||||
"-DLLVM_HOST_TRIPLE=${stdenv.hostPlatform.config}"
|
||||
"-DLLVM_DEFAULT_TARGET_TRIPLE=${stdenv.targetPlatform.config}"
|
||||
"-DTARGET_TRIPLE=${stdenv.targetPlatform.config}"
|
||||
# Not yet supported
|
||||
"-DCOMPILER_RT_BUILD_SANITIZERS=OFF"
|
||||
"-DCOMPILER_RT_BUILD_XRAY=OFF"
|
||||
|
|
Loading…
Reference in a new issue