[oe-commits] Richard Purdie : gcc-cross-canadian: Fix fortran build

git at git.openembedded.org git at git.openembedded.org
Sun Feb 9 11:01:49 UTC 2014


Module: openembedded-core.git
Branch: dora
Commit: 2c0a74e2a77ffd542cf45868646a054e0952c77a
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=2c0a74e2a77ffd542cf45868646a054e0952c77a

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Tue Sep 10 11:20:29 2013 +0000

gcc-cross-canadian: Fix fortran build

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 at linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang at windriver.com>

---

 meta/recipes-devtools/gcc/gcc-cross-canadian.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
index 900f1e5..136f267 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
@@ -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++



More information about the Openembedded-commits mailing list