That doesn't look right to me - or it's not properly described - IMO CC should be picked from the recipe sysroot not the host tools, otherwise I see cases where cc silently falls back to host sided cc even for target recipes. Instead of patching host tools this should be addressed in the scope of rust invocation only

On 15.04.21 11:32, Vinay Kumar wrote:
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 3438be92b7..83e1b68071 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -483,7 +483,7 @@ HOSTTOOLS_DIR = "${TMPDIR}/hosttools"
  HOSTTOOLS += " \
      [ ar as awk basename bash bzip2 cat chgrp chmod chown chrpath cmp comm cp 
cpio \
      cpp cut date dd diff diffstat dirname du echo egrep env expand expr false 
\
-    fgrep file find flock g++ gawk gcc getconf getopt git grep gunzip gzip \
+    fgrep file find flock g++ gawk gcc cc getconf getopt git grep gunzip gzip \
      head hostname iconv id install ld ldd ln ls make md5sum mkdir mkfifo 
mknod \
      mktemp mv nm objcopy objdump od patch perl pr printf pwd \
      python3 ranlib readelf readlink realpath rm rmdir rpcgen sed seq sh \





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#150470): 
https://lists.openembedded.org/g/openembedded-core/message/150470
Mute This Topic: https://lists.openembedded.org/mt/82112825/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to