Commit dd8ab37f authored by simonmar's avatar simonmar
Browse files

[project @ 2001-08-21 14:34:58 by simonmar]

make -no-recomp work with --make
parent a5edcf17
......@@ -1052,10 +1052,14 @@ compile ghci_mode summary source_unchanged have_object
writeIORef v_HCHeader cc_injects
-- -no-recomp should also work with --make
do_recomp <- readIORef v_Recomp
let source_unchanged' = source_unchanged && not do_recomp
-- run the compiler
hsc_result <- hscMain ghci_mode dyn_flags'
(ms_mod summary) location
source_unchanged have_object old_iface hst hit pcs
source_unchanged' have_object old_iface hst hit pcs
case hsc_result of
HscFail pcs -> return (CompErrs pcs)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment