Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 1 | Upstream-Status: Pending |
| 2 | |
| 3 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> |
| 4 | |
| 5 | diff --git a/utils/Makefile b/utils/Makefile |
| 6 | index 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: |