[OE-core] [PATCH] libaio: Remove QA warning: No GNU_HASH in the elf binary
Shakeel, Muhammad
muhammad_shakeel at mentor.com
Wed Dec 5 11:40:06 UTC 2012
From: Muhammad Shakeel <muhammad_shakeel at mentor.com>
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>
---
meta/recipes-extended/libaio/libaio_0.3.109.bb | 4 ++++
1 file changed, 4 insertions(+)
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}
}
--
1.7.9.5
More information about the Openembedded-core
mailing list