[OE-core] [PATCH] zip: Remove QA warnings: No GNU_HASH in the elf binary

Shakeel, Muhammad muhammad_shakeel at mentor.com
Wed Dec 5 15:02:10 UTC 2012


From: Muhammad Shakeel <muhammad_shakeel at mentor.com>

Update the LFLAGS1 in the Makefile to remove warnings:
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/zip/zip.inc |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-extended/zip/zip.inc b/meta/recipes-extended/zip/zip.inc
index a3bbc93..265d9a8 100644
--- a/meta/recipes-extended/zip/zip.inc
+++ b/meta/recipes-extended/zip/zip.inc
@@ -12,6 +12,8 @@ EXTRA_OEMAKE = "'CC=${CC}' 'BIND=${CC}' 'AS=${CC} -c' 'CPP=${CPP}' \
 		'BINFLAGS=0755' 'INSTALL_D=install -d'"
 
 do_compile() {
+	oe_runmake -f unix/Makefile flags
+	sed -i 's#LFLAGS1=""#LFLAGS1="${LDFLAGS}"#' flags
 	oe_runmake -f unix/Makefile generic
 }
 
-- 
1.7.9.5





More information about the Openembedded-core mailing list