summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-canadian.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
index adcaef2b0f..06f0cef864 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
@@ -118,6 +118,11 @@ do_install () {
118 # We don't care about the gcc-<version> copies 118 # We don't care about the gcc-<version> copies
119 rm -f ${D}${bindir}/*gcc-${BINV}* 119 rm -f ${D}${bindir}/*gcc-${BINV}*
120 120
121 # Remove buildpaths from pthread.h
122 sed -i -e "s|${RECIPE_SYSROOT_NATIVE}|/not/exist|g" \
123 -e "s|${RECIPE_SYSROOT}|/not/exist|g" \
124 ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include-fixed/pthread.h
125
121 # Cleanup empty directories which are not shipped 126 # Cleanup empty directories which are not shipped
122 # we use rmdir instead of 'rm -f' to ensure the non empty directories are not deleted 127 # we use rmdir instead of 'rm -f' to ensure the non empty directories are not deleted
123 # ${D}${libdir}/../lib only seems to appear with SDKMACHINE=i686 128 # ${D}${libdir}/../lib only seems to appear with SDKMACHINE=i686