[OE-core] [PATCH 1/4] meson.bbclass: fix to build for more projects

2018-03-04 Thread Chen Qi
We should use the value of CC for the c compiler setting in cross compilation configuration file for meson. For example, if we only use ${HOST_PREFIX}gcc instead of ${CC}, we would meet the following do_compile failure for systemd. cc1: fatal error: linux/capability.h: No such file or directory

Re: [OE-core] [PATCH 1/4] meson.bbclass: fix to build for more projects

2018-02-28 Thread ChenQi
On 02/28/2018 04:25 PM, Khem Raj wrote: On Tue, Feb 27, 2018 at 9:56 PM, Chen Qi wrote: We should use the value of CC for the c compiler setting in cross compilation configuration file for meson. For example, if we only use ${HOST_PREFIX}gcc instead of ${CC}, we would

Re: [OE-core] [PATCH 1/4] meson.bbclass: fix to build for more projects

2018-02-28 Thread Khem Raj
On Tue, Feb 27, 2018 at 9:56 PM, Chen Qi wrote: > We should use the value of CC for the c compiler setting in cross > compilation configuration file for meson. For example, if we only > use ${HOST_PREFIX}gcc instead of ${CC}, we would meet the following > do_compile failure

[OE-core] [PATCH 1/4] meson.bbclass: fix to build for more projects

2018-02-27 Thread Chen Qi
We should use the value of CC for the c compiler setting in cross compilation configuration file for meson. For example, if we only use ${HOST_PREFIX}gcc instead of ${CC}, we would meet the following do_compile failure for systemd. cc1: fatal error: linux/capability.h: No such file or directory