From 563b7f68d00564f31e1e1154639af3072198a481 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 12 May 2008 10:15:33 +0000 Subject: gcc 4.3.0: add symlink hack to get the right includes to glibc --- packages/gcc/gcc-cross-initial_4.3.0.bb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'packages/gcc') diff --git a/packages/gcc/gcc-cross-initial_4.3.0.bb b/packages/gcc/gcc-cross-initial_4.3.0.bb index fe326d304b..7060d46758 100644 --- a/packages/gcc/gcc-cross-initial_4.3.0.bb +++ b/packages/gcc/gcc-cross-initial_4.3.0.bb @@ -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/ +} + -- cgit v1.2.3