gcc 4.3.0: add symlink hack to get the right includes to glibc
authorKoen Kooi <koen@openembedded.org>
Mon, 12 May 2008 10:15:33 +0000 (10:15 +0000)
committerKoen Kooi <koen@openembedded.org>
Mon, 12 May 2008 10:15:33 +0000 (10:15 +0000)
packages/gcc/gcc-cross-initial_4.3.0.bb

index fe326d3..7060d46 100644 (file)
@@ -3,3 +3,9 @@ require gcc-cross-initial.inc
 
 EXTRA_OECONF += "--disable-libmudflap --disable-libgomp \
                --disable-libssp"
+
+# Hack till we fix *libc properly
+do_stage_append() {
+        ln -sf ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/include-fixed/* ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/include/
+}
+