Re: [OE-core] [PATCH] python/python3: use cc_basename to replace CC for checking compiler

2018-12-05 Thread Changqing Li
ping On 11/22/18 3:30 PM, Changqing Li wrote: Ping On 11/8/18 9:49 AM, Changqing Li wrote: Ping On 10/23/18 1:22 PM, changqing...@windriver.com wrote: From: Changqing Li When working path contains "clang"/"gcc"/"icc", it might be part of $CC because of the "--sysroot" parameter. That could

Re: [OE-core] [PATCH] python/python3: use cc_basename to replace CC for checking compiler

2018-11-21 Thread Changqing Li
Ping On 11/8/18 9:49 AM, Changqing Li wrote: Ping On 10/23/18 1:22 PM, changqing...@windriver.com wrote: From: Changqing Li When working path contains "clang"/"gcc"/"icc", it might be part of $CC because of the "--sysroot" parameter. That could cause judgement error about clang/gcc/icc compi

Re: [OE-core] [PATCH] python/python3: use cc_basename to replace CC for checking compiler

2018-11-07 Thread Changqing Li
Ping On 10/23/18 1:22 PM, changqing...@windriver.com wrote: From: Changqing Li When working path contains "clang"/"gcc"/"icc", it might be part of $CC because of the "--sysroot" parameter. That could cause judgement error about clang/gcc/icc compilers. eg: if build under /yocto/builds/xicc/,

[OE-core] [PATCH] python/python3: use cc_basename to replace CC for checking compiler

2018-10-22 Thread changqing.li
From: Changqing Li When working path contains "clang"/"gcc"/"icc", it might be part of $CC because of the "--sysroot" parameter. That could cause judgement error about clang/gcc/icc compilers. eg: if build under /yocto/builds/xicc/, bitbake python, $CC will contains xicc, will make $CC match *

[OE-core] [PATCH] python/python3: use cc_basename to replace CC for checking compiler

2018-01-15 Thread Li Zhou
When working path contains "clang"/"gcc"/"icc", it might be part of $CC because of the "--sysroot" parameter. That could cause judgement error about clang/gcc/icc compilers. e.g. When "icc" is containded in working path, below errors are reported when compiling python/python3: x86_64-wrs-linux-gcc: