mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
7fdf3535f6
commit
c4ea81241b
|
|
@ -0,0 +1,17 @@
|
|||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Yi Zhao <yi.zhao@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
|
||||
|
|
@ -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}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user