Patchwork zip: Remove QA warnings: No GNU_HASH in the elf binary

login
register
mail settings
Submitter Shakeel, Muhammad
Date Dec. 5, 2012, 3:02 p.m.
Message ID <1354719730-25300-1-git-send-email-muhammad_shakeel@mentor.com>
Download mbox | patch
Permalink /patch/40437/
State Accepted
Commit 6847325ff4132b6b767acd765ed9f27d407267d0
Headers show

Comments

Shakeel, Muhammad - Dec. 5, 2012, 3:02 p.m.
From: Muhammad Shakeel <muhammad_shakeel@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@mentor.com>
Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
---
 meta/recipes-extended/zip/zip.inc |    2 ++
 1 file changed, 2 insertions(+)

Patch

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
 }