All of lore.kernel.org
 help / color / mirror / Atom feed
From: Przemyslaw Wesolek <przemyslaw.wesolek@cs.put.poznan.pl>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH] boost-1.33.1: Corrected GNU_HASH QA error.
Date: Thu,  5 Nov 2009 16:00:58 +0100	[thread overview]
Message-ID: <1257433258-3265-1-git-send-email-przemyslaw.wesolek@cs.put.poznan.pl> (raw)
In-Reply-To: <200911051440.42702.holger+oe@freyther.de>

boost 1.33.1 recipe ignores LDFLAGS set by OE, including --hash-style.
In result package_qa task issues error.

This patch fixes the recipe by appending OE's specifics to compiler
flags.

This only affects 1.33, as newer versions of boost don't use boost.inc.

Signed-off-by: Przemyslaw Wesolek <przemyslaw.wesolek@cs.put.poznan.pl>
---
 recipes/boost/boost.inc       |    3 +++
 recipes/boost/boost_1.33.1.bb |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/recipes/boost/boost.inc b/recipes/boost/boost.inc
index 80635b0..8b38a5e 100644
--- a/recipes/boost/boost.inc
+++ b/recipes/boost/boost.inc
@@ -77,6 +77,9 @@ FILES_${PN}-dev = "${includedir} ${libdir}/libboost_*.so ${libdir}/libboost_*.a"
 PACKAGES += "${PN}"
 RRECOMMENDS_${PN} += "${BOOSTLIBS}"
 
+# to avoid GNU_HASH QA errors added LDFLAGS to ARCH; a little bit dirty but at least it works
+TARGET_CC_ARCH += " ${LDFLAGS}" 
+
 # Oh yippee, a new build system, it's sooo cooool I could eat my own
 # foot.  inlining=on lets the compiler choose, I think.  At least this
 # stuff is documented...
diff --git a/recipes/boost/boost_1.33.1.bb b/recipes/boost/boost_1.33.1.bb
index 4d8e77d..689c681 100644
--- a/recipes/boost/boost_1.33.1.bb
+++ b/recipes/boost/boost_1.33.1.bb
@@ -1,5 +1,5 @@
 include boost.inc
-PR = "r4"
+PR = "r5"
 
 SRC_URI = "\
   ${SOURCEFORGE_MIRROR}/boost/${BOOST_P}.tar.bz2 \
-- 
1.6.3.3




  reply	other threads:[~2009-11-05 15:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-05 13:24 [PATCH] boost-1.33.1: Corrected GNU_HASH error Przemyslaw Wesolek
2009-11-05 13:40 ` Holger Hans Peter Freyther
2009-11-05 15:00   ` Przemyslaw Wesolek [this message]
2009-11-05 15:12     ` [PATCH] boost-1.33.1: Corrected GNU_HASH QA error Przemyslaw Wesolek
2009-11-08 22:37     ` Przemyslaw Wesolek
2009-11-09 18:00     ` Leon Woestenberg
2009-11-05 15:04   ` [PATCH] boost-1.33.1: Corrected GNU_HASH error Przemyslaw Wesolek
2009-11-05 14:06 ` Henning Heinold
2009-11-05 15:10   ` Przemyslaw Wesolek
2009-11-05 15:17     ` Robert P. J. Day
2009-11-12 10:05       ` Przemyslaw Wesolek
2009-11-12 18:53       ` Philip Balister

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1257433258-3265-1-git-send-email-przemyslaw.wesolek@cs.put.poznan.pl \
    --to=przemyslaw.wesolek@cs.put.poznan.pl \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.