v1.5 branch refresh based upon upstream master @ c8677ca89e53e3be7988d54280fce166cc894a7e
[librecmc/librecmc.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