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 <steve@sakoman.com>
This commit is contained in:
Steve Sakoman 2025-03-20 07:31:40 -07:00
parent 8f74fa4073
commit dcb242eb19

View File

@ -118,11 +118,6 @@ do_install () {
# We don't care about the gcc-<version> 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