]> code.ossystems Code Review - openembedded-core.git/commit
gcc-4.6: Fix packaging of native toolchains
authorKumar Gala <galak@kernel.crashing.org>
Fri, 22 Jul 2011 13:57:48 +0000 (08:57 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Jul 2011 11:38:41 +0000 (12:38 +0100)
commit282326a188467edf6caef21b07a7e51288674245
treea86c9afed9e1b812fb5702422009b85bd735732a
parent3a69daa561eb01c8df2fb56cdc0860add1f5e19d
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>
meta/recipes-devtools/gcc/gcc-4.6.inc
meta/recipes-devtools/gcc/gcc-package-target.inc