From 549cc324d7f6703c497433e85280e558bd1258b3 Mon Sep 17 00:00:00 2001 From: hallgren Date: Tue, 21 Jun 2011 15:45:13 +0000 Subject: [PATCH] gf-server: enable -rtsopts when compiling with ghc>=7.0 --- src/server/gf-server.cabal | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/server/gf-server.cabal b/src/server/gf-server.cabal index dc27e0fca..f79f81f72 100644 --- a/src/server/gf-server.cabal +++ b/src/server/gf-server.cabal @@ -19,6 +19,8 @@ executable pgf-http other-modules: PGFService FastCGIUtils Cache URLEncoding RunHTTP ServeStaticFile ghc-options: -threaded + if impl(ghc>=7.0) + ghc-options: -rtsopts build-depends: base >=4.2 && <5, old-time, @@ -44,6 +46,8 @@ executable pgf-service main-is: pgf-fcgi.hs other-modules: PGFService FastCGIUtils Cache URLEncoding ghc-options: -threaded + if impl(ghc>=7.0) + ghc-options: -rtsopts if flag(fastcgi) build-depends: fastcgi >= 3001.0.2.2