From 0d9de34ac6772c0b32ef8a54c2367d14691fb6e4 Mon Sep 17 00:00:00 2001 From: Renat Khalikov Date: Thu, 21 Dec 2023 14:57:33 -0700 Subject: [PATCH] python3-maturin: Add missing space appending to CFLAGS When the CFLAGS variable is appended to, the missing space causes build errors when CFLAGS was set previously. For example: error: unrecognized command-line option '-mno-unaligned-access-fdebug-prefix-map=${CARGO_HOME}=${TARGET_DBGSRC_DIR}/cargo_home' (From OE-Core rev: cac54e6a6c6601629305b006f99fd1215565182b) Signed-off-by: Renat Khalikov CC: Tim Orling Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python3-maturin_1.4.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-maturin_1.4.0.bb b/meta/recipes-devtools/python/python3-maturin_1.4.0.bb index 07ad1201b8..82e65abb24 100644 --- a/meta/recipes-devtools/python/python3-maturin_1.4.0.bb +++ b/meta/recipes-devtools/python/python3-maturin_1.4.0.bb @@ -9,7 +9,7 @@ SRC_URI[sha256sum] = "ed12e1768094a7adeafc3a74ebdb8dc2201fa64c4e7e31f14cfc70378b S = "${WORKDIR}/maturin-${PV}" -CFLAGS:append = "-fdebug-prefix-map=${CARGO_HOME}=${TARGET_DBGSRC_DIR}/cargo_home" +CFLAGS:append = " -fdebug-prefix-map=${CARGO_HOME}=${TARGET_DBGSRC_DIR}/cargo_home" DEPENDS += "\ python3-setuptools-rust-native \