From c05be648384aa6ca1b1753d6541530fc8841b42a Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Thu, 24 Nov 2011 14:23:04 +0000 Subject: 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. --- Setup.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Setup.hs') 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 -- cgit v1.2.3