tools/zlib: move zlib build to tools
[openwrt/staging/jogo.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