From dcb242eb1926f393fb08738875232824e69e11e4 Mon Sep 17 00:00:00 2001 From: Steve Sakoman Date: Thu, 20 Mar 2025 07:31:40 -0700 Subject: [PATCH] Revert "gcc-cross-canadian.inc: Fix buildpaths error for pthread.h" This patch is causing build failures where pthread.h does not exist: sed: can't read No such file or directory This reverts commit d3c294ee0afe4d2eb46320945d41064ebfb5cbff. Signed-off-by: Steve Sakoman --- meta/recipes-devtools/gcc/gcc-cross-canadian.inc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc index 06f0cef864..adcaef2b0f 100644 --- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc +++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc @@ -118,11 +118,6 @@ do_install () { # We don't care about the gcc- copies rm -f ${D}${bindir}/*gcc-${BINV}* - # Remove buildpaths from pthread.h - sed -i -e "s|${RECIPE_SYSROOT_NATIVE}|/not/exist|g" \ - -e "s|${RECIPE_SYSROOT}|/not/exist|g" \ - ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include-fixed/pthread.h - # Cleanup empty directories which are not shipped # we use rmdir instead of 'rm -f' to ensure the non empty directories are not deleted # ${D}${libdir}/../lib only seems to appear with SDKMACHINE=i686