From 50c8f654e9006a7c902dd76f75082d4f8d668d0c Mon Sep 17 00:00:00 2001 From: Randy Li Date: Mon, 25 Oct 2021 11:37:43 +0800 Subject: [PATCH] meson: move lang args to the right section After meson 0.56.0, _args and _link_args would be regarded as meson built-in options. Signed-off-by: Hsia-Jun(Randy) Li Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/recipes-devtools/meson/nativesdk-meson_0.59.2.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/meson/nativesdk-meson_0.59.2.bb b/meta/recipes-devtools/meson/nativesdk-meson_0.59.2.bb index 0e76cc78f8..5657397ddc 100644 --- a/meta/recipes-devtools/meson/nativesdk-meson_0.59.2.bb +++ b/meta/recipes-devtools/meson/nativesdk-meson_0.59.2.bb @@ -24,12 +24,14 @@ nm = @NM strip = @STRIP pkgconfig = 'pkg-config' -[properties] -needs_exe_wrapper = true +[built-in options] c_args = @CFLAGS c_link_args = @LDFLAGS cpp_args = @CPPFLAGS cpp_link_args = @LDFLAGS + +[properties] +needs_exe_wrapper = true sys_root = @OECORE_TARGET_SYSROOT [host_machine] -- 2.40.1