summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-05-24 16:57:12 +0100
committerKhem Raj <raj.khem@gmail.com>2016-05-24 22:58:55 -0700
commit2e003cc6b561bd0f3208217b8cd0fcb54bc9908a (patch)
treebe45b92b241141c26765c3ee3f875600eb7bbae3
parenteda901aafd493be01e7eded49782ff2c110e36a0 (diff)
downloadmeta-clang-2e003cc6b561bd0f3208217b8cd0fcb54bc9908a.tar.gz
clang: don't depend on native perl or python
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--recipes-devtools/clang/clang_git.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-devtools/clang/clang_git.bb b/recipes-devtools/clang/clang_git.bb
index 6c9b45b..a17be03 100644
--- a/recipes-devtools/clang/clang_git.bb
+++ b/recipes-devtools/clang/clang_git.bb
@@ -31,7 +31,9 @@ INHIBIT_DEFAULT_DEPS = "1"
31 31
32S = "${WORKDIR}/git" 32S = "${WORKDIR}/git"
33 33
34inherit perlnative pythonnative cmake 34inherit cmake
35
36OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH"
35 37
36def get_clang_target_arch(bb, d): 38def get_clang_target_arch(bb, d):
37 target_arch = d.getVar('TRANSLATED_TARGET_ARCH', True) 39 target_arch = d.getVar('TRANSLATED_TARGET_ARCH', True)