blob: bb21899eb339a52d6355d0c2c465dd9dd1e1f05c [file] [log] [blame]
Patrick Williamsddad1a12017-02-23 20:36:32 -06001Upstream-Status: Pending
2
3Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
4
5diff --git a/utils/Makefile b/utils/Makefile
6index 710ebbf..6259893 100644
7--- a/utils/Makefile
8+++ b/utils/Makefile
9@@ -57,10 +57,10 @@ $(COMMONOBJS) $(MKYAFFSIMAGEOBJS) $(MKYAFFS2IMAGEOBJS) : %.o: %.c
10 $(CC) -c $(CFLAGS) $< -o $@
11
12 mkyaffsimage: $(MKYAFFSIMAGEOBJS) $(COMMONOBJS)
13- $(CC) -o $@ $^
14+ $(CC) $(LDFLAGS) -o $@ $^
15
16 mkyaffs2image: $(MKYAFFS2IMAGEOBJS) $(COMMONOBJS)
17- $(CC) -o $@ $^
18+ $(CC) $(LDFLAGS) -o $@ $^
19
20
21 clean: