From: Gary Thomas Date: Tue, 4 May 2010 11:59:12 +0000 (-0600) Subject: Fix build problem with GCC-4.3.3 on PowerPC X-Git-Tag: 2011-1~5999 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=28ca131ebe09d8acf360f34d58df2526628244e0;p=openembedded-core.git Fix build problem with GCC-4.3.3 on PowerPC Signed-off-by: Gary Thomas --- 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