summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/llvm-r2.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/llvm-r2.eclass b/eclass/llvm-r2.eclass
index 4c2628dd3b7e..5fc39945875c 100644
--- a/eclass/llvm-r2.eclass
+++ b/eclass/llvm-r2.eclass
@@ -427,6 +427,7 @@ llvm_chost_setup() {
export LLVM_ROOT="${esysroot_prefix}"
export Clang_ROOT="${esysroot_prefix}"
export LLD_ROOT="${esysroot_prefix}"
+ export MLIR_ROOT="${esysroot_prefix}"
# satisfies llvm-config calls, e.g. from meson
export PATH="${T}/llvm-bin:${PATH}"