ghc/ghc-with-interpreter.patch

15 lines
672 B
Diff
Raw Normal View History

Index: ghc-9.6.2/hadrian/src/Oracles/Setting.hs
===================================================================
--- ghc-9.6.2.orig/hadrian/src/Oracles/Setting.hs
+++ ghc-9.6.2/hadrian/src/Oracles/Setting.hs
@@ -295,7 +295,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.