daml/bazel_tools/grpc-haskell-core-cpp-options.patch

16 lines
463 B
Diff
Raw Normal View History

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: