diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/cpan.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/cpan.bbclass b/meta/classes/cpan.bbclass index 2e9432c0bb..957a6e2bfa 100644 --- a/meta/classes/cpan.bbclass +++ b/meta/classes/cpan.bbclass | |||
@@ -26,13 +26,14 @@ cpan_do_configure () { | |||
26 | test -f $f2 || continue | 26 | test -f $f2 || continue |
27 | sed -i -e "s:\(PERL_ARCHLIB = \).*:\1${PERL_ARCHLIB}:" \ | 27 | sed -i -e "s:\(PERL_ARCHLIB = \).*:\1${PERL_ARCHLIB}:" \ |
28 | -e 's/perl.real/perl/' \ | 28 | -e 's/perl.real/perl/' \ |
29 | -e "s/^\(CCFLAGS =.*\)/\1 ${CFLAGS}/" \ | ||
29 | $f2 | 30 | $f2 |
30 | done | 31 | done |
31 | fi | 32 | fi |
32 | } | 33 | } |
33 | 34 | ||
34 | cpan_do_compile () { | 35 | cpan_do_compile () { |
35 | oe_runmake PASTHRU_INC="${CFLAGS}" CCFLAGS="${CFLAGS}" LD="${CCLD}" | 36 | oe_runmake PASTHRU_INC="${CFLAGS}" LD="${CCLD}" |
36 | } | 37 | } |
37 | 38 | ||
38 | cpan_do_install () { | 39 | cpan_do_install () { |