llvmPackages_8.clang: bare-metal driver linker fix

Clang passes an incorrect -l linker flag for compiler-rt.

See https://reviews.llvm.org/D51899
This commit is contained in:
arcnmx
2019-07-27 15:04:02 -07:00
parent dd47b2d50a
commit a5e2b76e51
2 changed files with 55 additions and 0 deletions
@@ -47,6 +47,8 @@ let
# Backport for the `--unwindlib=[libgcc|compiler-rt]` flag, which is
# needed for our bootstrapping to not interfere with C.
./unwindlib.patch
# https://reviews.llvm.org/D51899
./compiler-rt-baremetal.patch
];
postPatch = ''