]> code.ossystems Code Review - openembedded-core.git/commitdiff
Fix build problem with GCC-4.3.3 on PowerPC
authorGary Thomas <gary@mlbassoc.com>
Tue, 4 May 2010 11:59:12 +0000 (05:59 -0600)
committerJoshua Lock <josh@linux.intel.com>
Thu, 6 May 2010 13:52:08 +0000 (14:52 +0100)
Signed-off-by: Gary Thomas <gary@mlbassoc.com>
meta/packages/gcc/gcc-package-cross.inc

index 449c8b548b389a7d231842d5191329f0d2a97f71..86f973e88535369f7f321c766bb6d869e39c957a 100644 (file)
@@ -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