]> code.ossystems Code Review - openembedded-core.git/commit
gcc/libtool/perl: Fix various path to sed-native problems
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 25 Sep 2013 12:36:00 +0000 (12:36 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Sep 2013 15:37:14 +0000 (16:37 +0100)
commit2ec171cb188601bf18c6c2895870907024b1c52a
treebb951b7bab125287753f7678ca8a1750fbc8a945
parentbdc6d3be6ffa4ed358153f9c9332b632324f5833
gcc/libtool/perl: Fix various path to sed-native problems

If sed-native is built before these programs, hardcoded paths to sed-native
can end up in scripts and other parts of the system which may cause issues
if they are later used from sstate and sed-native is not installed.

To avoid this, this patch changes the global site configuration to
specify that plain "sed" is fine to be used. We need to spell this
out for gcc since it doesn't see the site files since we don't autoreconf
it. We can remove the values from libtool. We tell perl to use "/bin/sed"
since it requires a path and the system sed should be just fine for it.

[YOCTO #4971]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-configure-common.inc
meta/recipes-devtools/libtool/libtool-2.4.2.inc
meta/recipes-devtools/libtool/libtool-native_2.4.2.bb
meta/recipes-devtools/perl/perl-native_5.14.3.bb
meta/site/common