summaryrefslogtreecommitdiff
path: root/Setup.hs
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2011-11-24 14:23:04 +0000
committerkr.angelov <kr.angelov@gmail.com>2011-11-24 14:23:04 +0000
commitc05be648384aa6ca1b1753d6541530fc8841b42a (patch)
tree8bd2deb3bdddfe8b6a07906ffe5caa53583b2f71 /Setup.hs
parent62d1320cfe76ef9b9eb55da0e3659868540a7ddb (diff)
now if some module is compiled with -no-pmcfg then the PMCFG code is generated at the end during the linking phase. Now the default compilation of the libraries with cabal is with -no-pmcfg.
Diffstat (limited to 'Setup.hs')
-rw-r--r--Setup.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Setup.hs b/Setup.hs
index 7041dabf6..cf3db3518 100644
--- a/Setup.hs
+++ b/Setup.hs
@@ -254,7 +254,7 @@ gfc1 mode pkg lbi file = do
Minimal -> "-preproc="++({-rgl_src_dir </>-} "mkMinimal")
createDirectoryIfMissing True dir
putStrLn $ "Compiling [" ++ show mode ++ "] " ++ file
- run_gfc pkg lbi ["-s", preproc, "--gfo-dir="++dir, file]
+ run_gfc pkg lbi ["-s", "-no-pmcfg", preproc, "--gfo-dir="++dir, file]
gf comm files pkg lbi = do
putStrLn $ "Reading " ++ unwords files