* -Wmissing-home-modules now behaves correctly when multiple units have expose the same module name * Adjust the demand signature of the prompt# to avoid invalid optimisation of non-terminating programs * GHC’s internal Unique type has been widened to 64-bits on 32-bit architectures, avoiding potential miscompilations on large projects OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc?expand=0&rev=406
15 lines
672 B
Diff
15 lines
672 B
Diff
Index: ghc-9.4.5/hadrian/src/Oracles/Setting.hs
|
|
===================================================================
|
|
--- ghc-9.4.5.orig/hadrian/src/Oracles/Setting.hs
|
|
+++ ghc-9.4.5/hadrian/src/Oracles/Setting.hs
|
|
@@ -292,7 +292,8 @@ ghcWithInterpreter = do
|
|
, "darwin", "kfreebsdgnu" ]
|
|
goodArch <- anyTargetArch [ "i386", "x86_64", "powerpc"
|
|
, "arm", "aarch64", "s390x"
|
|
- , "powerpc64", "powerpc64le" ]
|
|
+ , "powerpc64", "powerpc64le"
|
|
+ , "riscv64" ]
|
|
return $ goodOs && goodArch
|
|
|
|
-- | Variants of the ARM architecture.
|