diff options
-rw-r--r-- | ghc/Main.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ghc/Main.hs b/ghc/Main.hs index 4a91acd3b9..8b7597cddf 100644 --- a/ghc/Main.hs +++ b/ghc/Main.hs @@ -762,6 +762,9 @@ abiHash strs = do ifaces <- initIfaceCheck hsc_env $ mapM get_iface mods bh <- openBinMem (3*1024) -- just less than a block + put_ bh opt_HiVersion + -- package hashes change when the compiler version changes (for now) + -- see #5328 mapM_ (put_ bh . mi_mod_hash) ifaces f <- fingerprintBinMem bh |