diff options
-rw-r--r-- | compiler/GHC/Driver/Main.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Driver/Main.hs b/compiler/GHC/Driver/Main.hs index d041d918bb..788c2bce1f 100644 --- a/compiler/GHC/Driver/Main.hs +++ b/compiler/GHC/Driver/Main.hs @@ -703,7 +703,7 @@ hscRecompStatus (recomp_obj_reqd, mb_linkable) <- case () of -- No need for a linkable, we're good to go - _ | writeInterfaceOnlyMode lcl_dflags -> return (UpToDate, Nothing) + _ | NoBackend <- backend lcl_dflags -> return (UpToDate, Nothing) -- Interpreter can use either already loaded bytecode or loaded object code | not (backendProducesObject (backend lcl_dflags)) -> do res <- liftIO $ checkByteCode old_linkable |