[Yaffs] [PATCH] utils/Makfefile: set LDFLAGS explicitly

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Yi Zhao
Date:  
To: yaffs
Subject: [Yaffs] [PATCH] utils/Makfefile: set LDFLAGS explicitly
Make sure it obeys LDFLAGS.

Signed-off-by: Yi Zhao <>
---
utils/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/utils/Makefile b/utils/Makefile
index 710ebbf..6259893 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -57,10 +57,10 @@ $(COMMONOBJS) $(MKYAFFSIMAGEOBJS) $(MKYAFFS2IMAGEOBJS) : %.o: %.c
     $(CC) -c $(CFLAGS) $< -o $@


 mkyaffsimage: $(MKYAFFSIMAGEOBJS) $(COMMONOBJS)
-    $(CC) -o $@  $^
+    $(CC) $(LDFLAGS) -o $@  $^


 mkyaffs2image: $(MKYAFFS2IMAGEOBJS) $(COMMONOBJS)
-    $(CC) -o $@ $^
+    $(CC) $(LDFLAGS) -o $@ $^



clean:
--
2.9.0