[oe] [PATCH] boost-1.33.1: Corrected GNU_HASH QA error.

Przemyslaw Wesolek przemyslaw.wesolek at cs.put.poznan.pl
Thu Nov 5 15:00:58 UTC 2009


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 at 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





More information about the Openembedded-devel mailing list