[Buildroot] [PATCHv2] package/meson: fix malformed cross-compilation.conf.in

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Jan 1 22:05:21 UTC 2018


Hello,

On Sat, 30 Dec 2017 10:56:35 +0100, Yann E. MORIN wrote:
> Currently, meson will set the c_link_args and the cpp_link_args to the
> value of TARGET_LDFLAGS, even when it's not defined.
> 
> This creates a malformed array ["",] which will break any package
> building using meson/ninja.
> 
> We fix that by using an empty replacement when the corresponding values
> are empty.
> 
> Reported-by: Adam Duskett <Adamduskett at outlook.com>
> Signed-off-by: Adam Duskett <Adamduskett at outlook.com>
> [yann.morin.1998 at free.fr: alternate implementation, suggested by Thomas]
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> ---
>  package/meson/meson.mk | 10 +++++++---
>  1 file changed, 7 insertions(+), 3 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list