summaryrefslogtreecommitdiff
path: root/meta/recipes-multimedia/lame
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-10 10:05:50 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-10 10:22:26 +0100
commitd9bd1ac6d91de932dd3e2fcac9da77e0a7c09f55 (patch)
tree8c34ff51d0eabfce07ab7109b9650e5078474def /meta/recipes-multimedia/lame
parentc2892fa27d9918aa4ce00a106a254ddfd44aa0f1 (diff)
downloadopenembedded-core-d9bd1ac6d91de932dd3e2fcac9da77e0a7c09f55.tar.gz
openembedded-core-d9bd1ac6d91de932dd3e2fcac9da77e0a7c09f55.tar.bz2
openembedded-core-d9bd1ac6d91de932dd3e2fcac9da77e0a7c09f55.zip
perf: Fix sysroot option to CC handling
If you build perf in tree /xxx/treea, then cleansstate perf and build it in /xxx/treeb having deleted treea, the build will fail, unable to find libc. The problem is that the --sysroot option passed in through CC is missing. This works fine if the default sysroot is ok, if it isn't, things will fail. In 1.7 we'll start poisoning the default sysroot in gcc to catch this kind of issue however that doesn't fix the problem with perf. The problem is that various Makefiles set CC = $(CROSS_COMPILE)gcc. The easist fix for now is to sed out the problematic Makefile lines. Its worth noting the tools/lib/traceevent Makefile has a much more funky way of setting CC which works for us and may be the way we need to fix the other Makefiles upstream. This fixes build failures we're occasionally seen on the autobuilders. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/lame')
0 files changed, 0 insertions, 0 deletions