mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 20:59:42 +01:00
cpan.bbclass: use '|' as sed separator for entry with paths
With normal toolchain it works. But fails badly when external Linaro toolchain is used. And this is why: -e "s/^\(CCFLAGS =.*\)/\1 -isystem/home/hrw/devel/canonical/aarch64/openembedded/build/linaro-tcwg/gcc-linaro-aarch64-linux-gnu-4.7-2013.04-20130415_linux//aarch64-linux-gnu/include -O2 -pipe -g -feliminate-unused-debug-types/" \ (From OE-Core rev: f6244a9d3da7c301f19efc114c2aaf39e5eec299) Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
2895bcf95a
commit
3e79775a82
@@ -26,7 +26,7 @@ cpan_do_configure () {
|
||||
test -f $f2 || continue
|
||||
sed -i -e "s:\(PERL_ARCHLIB = \).*:\1${PERL_ARCHLIB}:" \
|
||||
-e 's/perl.real/perl/' \
|
||||
-e "s/^\(CCFLAGS =.*\)/\1 ${CFLAGS}/" \
|
||||
-e "s|^\(CCFLAGS =.*\)|\1 ${CFLAGS}|" \
|
||||
$f2
|
||||
done
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user