From: Stefan Herbrechtsmeier <[email protected]>

The glob to remove the gcc-<version> binary expects a single-digit major
version which is no longer true.

Signed-off-by: Stefan Herbrechtsmeier <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
(cherry picked from commit 30de10cf939cf65c0cab6730a3575bced5c7533a)
Signed-off-by: Anuj Mittal <[email protected]>
---
 meta/recipes-devtools/gcc/gcc-target.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/gcc/gcc-target.inc 
b/meta/recipes-devtools/gcc/gcc-target.inc
index bf55e692e6..bcea75b2fa 100644
--- a/meta/recipes-devtools/gcc/gcc-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-target.inc
@@ -193,7 +193,7 @@ do_install () {
        rm -f *c++*
 
        # We don't care about the gcc-<version> ones for this
-       rm -f *gcc-?.?*
+       rm -f *gcc-?*.?*
 
        # Not sure why we end up with these but we don't want them...
        rm -f ${TARGET_PREFIX}${TARGET_PREFIX}*
-- 
2.35.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#162162): 
https://lists.openembedded.org/g/openembedded-core/message/162162
Mute This Topic: https://lists.openembedded.org/mt/89318318/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to