diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2011-07-22 08:57:48 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-25 12:54:34 +0100 |
commit | d43437307d85c7f0596df6f871a402b948c37223 (patch) | |
tree | c365f6b1dbf8068d184929aaad3c41408b1be485 /meta/recipes-devtools/gcc/gcc-package-target.inc | |
parent | 9af2b2f6fc56650de8f573b5dc3fd7a6268d47d0 (diff) | |
download | poky-d43437307d85c7f0596df6f871a402b948c37223.tar.gz |
gcc-4.6: Fix packaging of native toolchains
The base gcc package is missing liblto_plugin.so. If we try a simple
hello world compile we get something like:
root@p5020-ds:~# gcc hello.c
gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
compilation terminated.
We need to include liblto_plugin.so in the base gcc package and not
gcc-dev.
(From OE-Core rev: 282326a188467edf6caef21b07a7e51288674245)
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-package-target.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-package-target.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-package-target.inc b/meta/recipes-devtools/gcc/gcc-package-target.inc index e6105da0e6..a0e5da4603 100644 --- a/meta/recipes-devtools/gcc/gcc-package-target.inc +++ b/meta/recipes-devtools/gcc/gcc-package-target.inc | |||
@@ -17,6 +17,7 @@ FILES_${PN} = "\ | |||
17 | ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc* \ | 17 | ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc* \ |
18 | ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lto* \ | 18 | ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lto* \ |
19 | ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lib*${SOLIBS} \ | 19 | ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lib*${SOLIBS} \ |
20 | ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/liblto*${SOLIBSDEV} \ | ||
20 | ${gcclibdir}/${TARGET_SYS}/${BINV}/*.o \ | 21 | ${gcclibdir}/${TARGET_SYS}/${BINV}/*.o \ |
21 | ${gcclibdir}/${TARGET_SYS}/${BINV}/specs \ | 22 | ${gcclibdir}/${TARGET_SYS}/${BINV}/specs \ |
22 | ${gcclibdir}/${TARGET_SYS}/${BINV}/lib*${SOLIBS} \ | 23 | ${gcclibdir}/${TARGET_SYS}/${BINV}/lib*${SOLIBS} \ |