summaryrefslogtreecommitdiff
path: root/profiles/arch/riscv/package.use.force
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/arch/riscv/package.use.force')
-rw-r--r--profiles/arch/riscv/package.use.force8
1 files changed, 7 insertions, 1 deletions
diff --git a/profiles/arch/riscv/package.use.force b/profiles/arch/riscv/package.use.force
index cb405f4ea1f3..cc0ff6691734 100644
--- a/profiles/arch/riscv/package.use.force
+++ b/profiles/arch/riscv/package.use.force
@@ -1,6 +1,12 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# matoro <matoro_gentoo@matoro.tk> (2022-09-10)
+# GHC does not support native codegen for riscv at all.
+# It gains LLVM codegen in 9.2, but we maintain a backport of this,
+# so force LLVM codegen in all versions.
+dev-lang/ghc llvm
+
# we, kinda, need this on riscv ...
sys-devel/llvm llvm_targets_RISCV
sys-devel/clang llvm_targets_RISCV