daml/bazel_tools/grpc-haskell-core-cpp-options.patch
Andreas Herrmann f4d0eb636e Replace Hazel by stack_snapshot (#2743)
* Unmangled libz.so and libbz2.so

* Use stack_snapshot instead of Hazel

* Remove Hazel

* Define stack_snapshot

* Update rules_haskell

* Document stack_snapshot

* Clean stack's lock file from aborted builds
2019-11-22 14:24:08 +00:00

16 lines
463 B
Diff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

language-c fails to pass mingws intrinsic-impl.h header if we do not unset
this option.
diff --git a/grpc-haskell-core.cabal b/grpc-haskell-core.cabal
index 5343b3b..7565c8c 100644
--- a/grpc-haskell-core.cabal
+++ b/grpc-haskell-core.cabal
@@ -76,6 +76,8 @@ library
if flag(debug)
CPP-Options: -DDEBUG
CC-Options: -DGRPC_HASKELL_DEBUG -std=c99
+ if os(windows)
+ CPP-Options: -U__GCC_ASM_FLAG_OUTPUTS__
test-suite tests
build-depends: