projects
/
openwrt
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
tools/zlib: move zlib build to tools
[openwrt/openwrt.git]
/
tools
/
make-ext4fs
/
patches
/
100-add-ldflags.patch
1
--- a/Makefile
2
+++ b/Makefile
3
@@ -27,7 +27,7 @@ OBJ := \
4
$(CC) $(CFLAGS) -c -o $@ $^
5
6
make_ext4fs: $(OBJ) libsparse/libsparse.a
7
- $(CC) -o $@ $^ $(ZLIB)
8
+ $(CC) $(LDFLAGS)-o $@ $^ $(ZLIB)
9
10
libsparse/libsparse.a:
11
$(MAKE) -C libsparse/ libsparse.a