diff options
Diffstat (limited to 'meta-oe/recipes-core/llvm/llvm.inc')
-rw-r--r-- | meta-oe/recipes-core/llvm/llvm.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/llvm/llvm.inc b/meta-oe/recipes-core/llvm/llvm.inc index 6cf9db8d79..fcd26668b7 100644 --- a/meta-oe/recipes-core/llvm/llvm.inc +++ b/meta-oe/recipes-core/llvm/llvm.inc @@ -141,6 +141,12 @@ do_install() { # later for native case install -d ${D}${bindir} install -m 0755 bin/llvm-config ${D}${bindir} +} + +SYSROOT_PREPROCESS_FUNCS_append_class-target = " llvm_sysroot_preprocess" + +llvm_sysroot_preprocess() { + cd ${OECMAKE_BUILDPATH} # Fix the paths in the config script to make it find the binaries and # library files. Doing so allows 3rd party configure scripts working |