diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2014-07-01 15:51:54 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-03 17:41:18 +0100 |
commit | cc7d457392133ad2ecf7335447a4a01a0d8a8e4e (patch) | |
tree | f303f5e0bf96dca0046ee14020e99c9f2aedd279 /meta/recipes-devtools/perl/libxml-parser-perl_2.41.bb | |
parent | 301c3f93891c23a42ae7020ef78125adadd021e5 (diff) | |
download | poky-cc7d457392133ad2ecf7335447a4a01a0d8a8e4e.tar.gz |
libxml-parser-perl: fix do_compile failed with unrecognized option '-Wl, -O1'
Use '${CCLD}' as '${LD}' which the cpan was doing.
...
i586-poky-linux-ld: unrecognized option '-Wl,-O1'
i586-poky-linux-ld: use the --help option for usage information
...
Also fix do_configure warnings
...
'--SYSROOT' is not a known MakeMaker parameter name.
'-MARCH' is not a known MakeMaker parameter name.
...
(From OE-Core rev: c67dc89179977b2df80f25ebf66b7e983819a833)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl/libxml-parser-perl_2.41.bb')
-rw-r--r-- | meta/recipes-devtools/perl/libxml-parser-perl_2.41.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/perl/libxml-parser-perl_2.41.bb b/meta/recipes-devtools/perl/libxml-parser-perl_2.41.bb index 43a8a84518..26241e884c 100644 --- a/meta/recipes-devtools/perl/libxml-parser-perl_2.41.bb +++ b/meta/recipes-devtools/perl/libxml-parser-perl_2.41.bb | |||
@@ -13,7 +13,7 @@ SRC_URI[sha256sum] = "b48197cd2265a26c5f016489f11a7b450d8833cb8b3d6a46ee15975740 | |||
13 | 13 | ||
14 | S = "${WORKDIR}/XML-Parser-${PV}" | 14 | S = "${WORKDIR}/XML-Parser-${PV}" |
15 | 15 | ||
16 | EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR} CC=${CC} LD=${LD} FULL_AR=${AR}" | 16 | EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR} CC='${CC}' LD='${CCLD}' FULL_AR='${AR}'" |
17 | 17 | ||
18 | inherit cpan | 18 | inherit cpan |
19 | 19 | ||