llvm4: always apply fix, improve compat, fix w/musl

This commit is contained in:
Will Dietz 2018-02-04 21:18:04 -06:00
parent b281cb20d5
commit 5bf5e6eebf

View File

@ -65,7 +65,7 @@ in stdenv.mkDerivation (rec {
substitute '${./llvm-outputs.patch}' ./llvm-outputs.patch --subst-var lib
patch -p1 < ./llvm-outputs.patch
''
+ stdenv.lib.optionalString (stdenv ? glibc) ''
+ ''
(
cd projects/compiler-rt
patch -p1 < ${