From: Muhammad Shakeel <muhammad_shak...@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_lar...@mentor.com>
Signed-off-by: Muhammad Shakeel <muhammad_shak...@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


_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to