3
0
Fork 0
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:
Will Dietz 2018-06-25 09:55:36 -05:00
parent c5e90a9292
commit 632624691d

View file

@ -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"