From 3da7cde603b0bf1c0670514e4770323d7992c522 Mon Sep 17 00:00:00 2001 From: Vamshi Surabhi Date: Mon, 20 May 2019 16:12:26 +0530 Subject: [PATCH] link server with -rtsopts This allows customisation of Haskell's runtime's parameters. --- server/graphql-engine.cabal | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/server/graphql-engine.cabal b/server/graphql-engine.cabal index fae144b14c982..1fd26e46456fb 100644 --- a/server/graphql-engine.cabal +++ b/server/graphql-engine.cabal @@ -356,7 +356,13 @@ executable graphql-engine if flag(developer) ghc-prof-options: -rtsopts -fprof-auto -fno-prof-count-entries - ghc-options: -O2 -Wall -threaded + ghc-options: -O2 + -Wall + -Wcompat + -Wincomplete-record-updates + -Wincomplete-uni-patterns + -Wredundant-constraints + -threaded -rtsopts test-suite graphql-engine-test type: exitcode-stdio-1.0