| Submitter | Frans Meulenbroeks |
|---|---|
| Date | Dec. 26, 2010, 8:17 p.m. |
| Message ID | <1293394627-21453-1-git-send-email-fransmeulenbroeks@gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/129/ |
| State | Superseded |
| Headers | show |
Comments
Oops, made a mistake with the patch, will resubmit Frans
Patch
diff --git a/classes/cpan_build.bbclass b/classes/cpan_build.bbclass index 37f430d..070e061 100644 --- a/classes/cpan_build.bbclass +++ b/classes/cpan_build.bbclass @@ -26,7 +26,7 @@ cpan_build_do_configure () { # build for target . ${STAGING_LIBDIR}/perl/config.sh perl Build.PL --installdirs vendor \ - --config cc="${CC}" --config ld="${CCLD}" \ + --config cc="${CC} ${LDFLAGS}" --config ld="${CCLD} ${LDFLAGS}" \ --destdir ${D} \ --install_path lib="${datadir}/perl5" \ --install_path arch="${libdir}/perl5" \
Without these gcc would be used which resolves to /usr/bin/gcc and one gets an intel exe. This showed up with libparams-validate-perl and libdatetime-perl The LDFLAGS are added to resolve the GNU_HASH QA error Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> --- classes/cpan_build.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)