When the optimization flags were reduced to a single option, a different and clearly untested codepath was used where the output was unquoted. This caused errors when testing meson in the SDK.
Use repr() in the single item case as per the multiple item case to correctly quote the output and fix build failures. Signed-off-by: Richard Purdie <[email protected]> --- meta/recipes-devtools/meson/meson_1.4.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/meson/meson_1.4.0.bb b/meta/recipes-devtools/meson/meson_1.4.0.bb index 5db100ff1cd..a0c2ee633ae 100644 --- a/meta/recipes-devtools/meson/meson_1.4.0.bb +++ b/meta/recipes-devtools/meson/meson_1.4.0.bb @@ -47,7 +47,7 @@ inherit meson-routines # them. def var_list2str(var, d): items = d.getVar(var).split() - return items[0] if len(items) == 1 else ', '.join(repr(s) for s in items) + return repr(items[0]) if len(items) == 1 else ', '.join(repr(s) for s in items) def generate_native_link_template(d): val = ['-L@{OECORE_NATIVE_SYSROOT}${libdir_native}',
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#201825): https://lists.openembedded.org/g/openembedded-core/message/201825 Mute This Topic: https://lists.openembedded.org/mt/107181560/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
