]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc-cross-canadian: Fix fortran build
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 Sep 2013 11:20:29 +0000 (11:20 +0000)
committerRobert Yang <liezhi.yang@windriver.com>
Sun, 26 Jan 2014 06:08:14 +0000 (14:08 +0800)
When fortran was enabled, builds were failing due to a extra files.
For now we can remove these and avoid the build failure.

(From OE-Core master rev: 2e60ef7fe63974e443a9ddc25c5eb4249ec37963)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/recipes-devtools/gcc/gcc-cross-canadian.inc

index 900f1e594fdc832a1eaeb444cf3f3e9639233a6e..136f26719e017186008e582eb2183df92e2b4b4b 100644 (file)
@@ -103,6 +103,7 @@ do_install () {
        # Cleanup some of the ${libdir}{,exec}/gcc stuff ...
        rm -r ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/install-tools
        rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/install-tools
+       rm -rf ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/finclude
 
        # We care about g++ not c++
        rm -f ${D}${bindir}/*c++