llvm6: musl compat

This commit is contained in:
Will Dietz
2018-03-07 19:03:08 -06:00
parent ab0a72a33d
commit e876e97ef0
4 changed files with 28 additions and 4 deletions
@@ -47,6 +47,8 @@ let
# Patch for standalone doc building
sed -i '1s,^,find_package(Sphinx REQUIRED)\n,' docs/CMakeLists.txt
'' + stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
sed -i -e 's/lgcc_s/lgcc_eh/' lib/Driver/ToolChains/*.cpp
'';
outputs = [ "out" "lib" "python" ];