daml/bazel_tools/haskell-no-isystem.patch
Shayne Fletcher ee5079d9d3 Ghc lib 8.8.0.20190723 (#2279)
* Upgrade ghc-lib

* Patch bazel_tools : hazel-include-paths patch, no-isystem patch.

* Provide "haskell_c2hs" for package name to cabal_haskell_package

* Package name haskell_c2hs => c2hs.

* Switch to less hacky patch for include dirs
2019-07-25 08:59:34 +00:00

14 lines
383 B
Diff

diff --git a/haskell/cc.bzl b/haskell/cc.bzl
index cd42613..6c3e53a 100644
--- a/haskell/cc.bzl
+++ b/haskell/cc.bzl
@@ -59,7 +59,7 @@ def cc_interop_info(ctx):
] + [
f
for include in cc_ctx.system_includes.to_list()
- for f in ["-isystem", include]
+ for f in ["-I", include]
],
)