git.iko.soy/typeable/nixpkgs
on master help sign in
clang_39: fix w/musl (same as clang_4)
commitae78847b50fc28ac9c219d7d35e89290107f8fae authorWill Dietz <w@wdtz.org> dateSat 23 Jun 2018, 12:08 (8 years ago) parente4fffae
1 file changed+2
pkgs/development/compilers/llvm/3.9/clang/default.nix+2
pkgs/development/compilers/llvm/3.9/clang/default.nix+2
@@ -29,6 +29,8 @@ let
2929 postPatch = ''
3030 sed -i -e 's/Args.hasArg(options::OPT_nostdlibinc)/true/' lib/Driver/Tools.cpp
3131 sed -i -e 's/DriverArgs.hasArg(options::OPT_nostdlibinc)/true/' lib/Driver/ToolChains.cpp
32+ '' + stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
33+ sed -i -e 's/lgcc_s/lgcc_eh/' lib/Driver/Tools.cpp
3234 '';
3335
3436 outputs = [ "out" "lib" "python" ];