diff options
-rw-r--r-- | meta/recipes-devtools/clang/libclc_git.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/clang/libclc_git.bb b/meta/recipes-devtools/clang/libclc_git.bb index 04b76c55d2..e56cf2eb6c 100644 --- a/meta/recipes-devtools/clang/libclc_git.bb +++ b/meta/recipes-devtools/clang/libclc_git.bb | |||
@@ -28,7 +28,7 @@ EXTRA_OECMAKE:append:class-nativesdk = " -DPREPARE_BUILTINS=${B_NATIVE}/prepare_ | |||
28 | # Need to build a native prepare_builtins binary in target builds. The easiest | 28 | # Need to build a native prepare_builtins binary in target builds. The easiest |
29 | # way to do this is with a second native cmake build tree. | 29 | # way to do this is with a second native cmake build tree. |
30 | do_build_prepare_builtins() { | 30 | do_build_prepare_builtins() { |
31 | cmake --fresh -G Ninja \ | 31 | env -i PATH=$PATH cmake --fresh -G Ninja \ |
32 | -S ${OECMAKE_SOURCEPATH} -B ${B_NATIVE} \ | 32 | -S ${OECMAKE_SOURCEPATH} -B ${B_NATIVE} \ |
33 | -DCMAKE_TOOLCHAIN_FILE:FILEPATH=${WORKDIR}/toolchain-native.cmake \ | 33 | -DCMAKE_TOOLCHAIN_FILE:FILEPATH=${WORKDIR}/toolchain-native.cmake \ |
34 | -DLIBCLC_TARGETS_TO_BUILD= | 34 | -DLIBCLC_TARGETS_TO_BUILD= |