OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc?expand=0&rev=400
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.
|