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:38:41 +0100 |
commit | 282326a188467edf6caef21b07a7e51288674245 (patch) | |
tree | a86c9afed9e1b812fb5702422009b85bd735732a /meta/recipes-devtools | |
parent | 3a69daa561eb01c8df2fb56cdc0860add1f5e19d (diff) | |
download | openembedded-core-282326a188467edf6caef21b07a7e51288674245.tar.gz openembedded-core-282326a188467edf6caef21b07a7e51288674245.tar.bz2 openembedded-core-282326a188467edf6caef21b07a7e51288674245.tar.xz openembedded-core-282326a188467edf6caef21b07a7e51288674245.zip |
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.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.6.inc | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-package-target.inc | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc b/meta/recipes-devtools/gcc/gcc-4.6.inc index a636d3223..695667735 100644 --- a/meta/recipes-devtools/gcc/gcc-4.6.inc +++ b/meta/recipes-devtools/gcc/gcc-4.6.inc @@ -1,6 +1,6 @@ require gcc-common.inc -PR = "r1" +PR = "r2" # Third digit in PV should be incremented after a minor release # happens from this branch on gcc e.g. currently its 4.6.0 diff --git a/meta/recipes-devtools/gcc/gcc-package-target.inc b/meta/recipes-devtools/gcc/gcc-package-target.inc index e6105da0e..a0e5da460 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} = "\ ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc* \ ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lto* \ ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lib*${SOLIBS} \ + ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/liblto*${SOLIBSDEV} \ ${gcclibdir}/${TARGET_SYS}/${BINV}/*.o \ ${gcclibdir}/${TARGET_SYS}/${BINV}/specs \ ${gcclibdir}/${TARGET_SYS}/${BINV}/lib*${SOLIBS} \ |