[oe-commits] [meta-openembedded] 10/15: wipe: fix QA warning for GNU_HASH
git at git.openembedded.org
git at git.openembedded.org
Thu Aug 18 16:12:07 UTC 2016
martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.
commit b34f9fbb1bcb3ae625fceff8a15f799cfee739fa
Author: Yi Zhao <yi.zhao at windriver.com>
AuthorDate: Thu Aug 18 17:37:40 2016 +0800
wipe: fix QA warning for GNU_HASH
Add LDFLAGS variable to Makefile so that extra linker flags can be sent
via this variable.
Signed-off-by: Yi Zhao <yi.zhao at windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
.../wipe/files/makefile-add-ldflags.patch | 17 +++++++++++++++++
meta-oe/recipes-extended/wipe/wipe_git.bb | 1 +
2 files changed, 18 insertions(+)
diff --git a/meta-oe/recipes-extended/wipe/files/makefile-add-ldflags.patch b/meta-oe/recipes-extended/wipe/files/makefile-add-ldflags.patch
new file mode 100644
index 0000000..fac1b31
--- /dev/null
+++ b/meta-oe/recipes-extended/wipe/files/makefile-add-ldflags.patch
@@ -0,0 +1,17 @@
+Upstream-Status: Pending
+
+Signed-off-by: Yi Zhao <yi.zhao at windriver.com>
+
+diff --git a/Makefile b/Makefile
+index 9e74cdf..cad8109 100644
+--- a/Makefile
++++ b/Makefile
+@@ -151,7 +151,7 @@ generic :
+ $(MAKE) $(TARGETS) "CC=$(CC_GENERIC)" "CCO=$(CCO_GENERIC)" "CCOC=$(CCOC_GENERIC)"
+
+ wipe : $(OBJECTS)
+- $(CC) $(CCO) $(OBJECTS) -o wipe
++ $(CC) $(CCO) $(LDFLAGS) $(OBJECTS) -o wipe
+
+ wipe.o : wipe.c random.h misc.h version.h
+ $(CC) $(CCO) $(CCOC) wipe.c -o wipe.o
diff --git a/meta-oe/recipes-extended/wipe/wipe_git.bb b/meta-oe/recipes-extended/wipe/wipe_git.bb
index 70229f0..dd49958 100644
--- a/meta-oe/recipes-extended/wipe/wipe_git.bb
+++ b/meta-oe/recipes-extended/wipe/wipe_git.bb
@@ -11,6 +11,7 @@ LIC_FILES_CHKSUM = "file://GPL;md5=0636e73ff0215e8d672dc4c32c317bb3"
SRC_URI = "git://github.com/berke/wipe.git;branch=master \
file://support-cross-compile-for-linux.patch \
+ file://makefile-add-ldflags.patch \
"
SRCREV = "d9c100c9cd0b1cbbe4359e4d6c9a035d11e7597c"
PV = "0.23+git${SRCPV}"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list