1
0
forked from GitHub/gf-core

gf-server: enable -rtsopts when compiling with ghc>=7.0

This commit is contained in:
hallgren
2011-06-21 15:45:13 +00:00
parent 1780b14d3a
commit 4b86179f12

View File

@@ -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