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

login
register
mail settings
Submitter Shakeel, Muhammad
Date Dec. 5, 2012, 11:40 a.m.
Message ID <1354707606-7374-1-git-send-email-muhammad_shakeel@mentor.com>
Download mbox | patch
Permalink /patch/40415/
State Accepted
Commit 6df2a6010882bee92c6af3ef575b4291570623c3
Headers show

Comments

Shakeel, Muhammad - Dec. 5, 2012, 11:40 a.m.
From: Muhammad Shakeel <muhammad_shakeel@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@mentor.com>
Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
---
 meta/recipes-extended/libaio/libaio_0.3.109.bb |    4 ++++
 1 file changed, 4 insertions(+)

Patch

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