[oe-commits] Muhammad Shakeel : libaio: Remove QA warning: No GNU_HASH in the elf binary

git at git.openembedded.org git at git.openembedded.org
Thu Dec 6 12:34:47 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 07501f14121a1882f26de66b4ca991392ab45dff
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=07501f14121a1882f26de66b4ca991392ab45dff

Author: Muhammad Shakeel <muhammad_shakeel at mentor.com>
Date:   Wed Dec  5 16:40:06 2012 +0500

libaio: Remove QA warning: No GNU_HASH in the elf binary

Update the LINK_FLAGS in the Makefile to remove warning:
QA Issue: No GNU_HASH in the elf binary

Signed-off-by: Christopher Larson <chris_larson at mentor.com>
Signed-off-by: Muhammad Shakeel <muhammad_shakeel at mentor.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/recipes-extended/libaio/libaio_0.3.109.bb |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-extended/libaio/libaio_0.3.109.bb b/meta/recipes-extended/libaio/libaio_0.3.109.bb
index 161b712..0712d04 100644
--- a/meta/recipes-extended/libaio/libaio_0.3.109.bb
+++ b/meta/recipes-extended/libaio/libaio_0.3.109.bb
@@ -18,6 +18,10 @@ SRC_URI[sha256sum] = "bf4a457253cbaab215aea75cb6e18dc8d95bbd507e9920661ff9bdd288
 
 EXTRA_OEMAKE =+ "prefix=${prefix} includedir=${includedir} libdir=${libdir}"
 
+do_configure () {
+    sed -i 's#LINK_FLAGS=.*#LINK_FLAGS=$(LDFLAGS)#' src/Makefile
+}
+
 do_install () {
     oe_runmake install DESTDIR=${D}
 }





More information about the Openembedded-commits mailing list