diff options
author | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2013-04-24 15:45:42 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-29 14:43:50 +0100 |
commit | f6244a9d3da7c301f19efc114c2aaf39e5eec299 (patch) | |
tree | 53bf3c84ec6d4dfaf53c4d229f4d7ae1c6b0c0c0 | |
parent | d8c4f442c41bf3ac5e064630657cd3fa1b5c43b1 (diff) | |
download | openembedded-core-f6244a9d3da7c301f19efc114c2aaf39e5eec299.tar.gz openembedded-core-f6244a9d3da7c301f19efc114c2aaf39e5eec299.tar.bz2 openembedded-core-f6244a9d3da7c301f19efc114c2aaf39e5eec299.zip |
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/" \
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r-- | meta/classes/cpan.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/cpan.bbclass b/meta/classes/cpan.bbclass index 957a6e2bfa..bef9e82685 100644 --- a/meta/classes/cpan.bbclass +++ b/meta/classes/cpan.bbclass @@ -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 |