From 28ca131ebe09d8acf360f34d58df2526628244e0 Mon Sep 17 00:00:00 2001 From: Gary Thomas Date: Tue, 4 May 2010 05:59:12 -0600 Subject: Fix build problem with GCC-4.3.3 on PowerPC Signed-off-by: Gary Thomas --- meta/packages/gcc/gcc-package-cross.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta/packages/gcc') diff --git a/meta/packages/gcc/gcc-package-cross.inc b/meta/packages/gcc/gcc-package-cross.inc index 449c8b548b..86f973e885 100644 --- a/meta/packages/gcc/gcc-package-cross.inc +++ b/meta/packages/gcc/gcc-package-cross.inc @@ -22,6 +22,10 @@ do_install () { for f in *.h *.c libgcc.mvars; do cp ${B}/gcc/$f ${D}${includedir}/gcc-build-internal/ done + # Special for PowerPC (and possibly others) + if [ -f ${B}/gcc/tramp.S ]; then + cp ${B}/gcc/*.S ${D}${includedir}/gcc-build-internal/ + fi if [ -f libgcc.mvars]; then cp ${B}/gcc/libgcc.mvars ${D}${includedir}/gcc-build-internal/ fi -- cgit v1.2.3