Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
-resource-dir
flag to nix-support/cc-cflags on Darwin
This fixes a problem on Darwin when running `bazel coverage` failed because the runtime profiling library (libclang_rt.profile_osx.a) was not found. (see tweag/rules_haskell#1768) Note, this sets the resource dir to the `/resource-root` directory of the original wrapped `cc`; otherwise we would have to re-create this directory for our own wrapper again.
- Loading branch information