mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
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.
This commit is contained in:
2
Setup.hs
2
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
|
||||
|
||||
Reference in New Issue
Block a user