From aaf62c1c9618f61da14a47d8e68cb2086507f6de Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Tue, 27 Aug 2019 10:24:29 +0200 Subject: [PATCH] Build with -fno-spec-constr. Compare https://gitlab.haskell.org/ghc/ghc/issues/16017#note_219304 --- stack.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack.yaml b/stack.yaml index 596ce80ea..ef7d84d82 100644 --- a/stack.yaml +++ b/stack.yaml @@ -1,5 +1,5 @@ resolver: lts-14.3 ghc-options: - postgrest: -O2 -Werror -Wall -fwarn-identities -fno-warn-redundant-constraints -optP-Wno-nonportable-include-path + postgrest: -O2 -Werror -Wall -fno-spec-constr -fwarn-identities -fno-warn-redundant-constraints -optP-Wno-nonportable-include-path nix: packages: [pcre, pkgconfig, postgresql, zlib]