Add LDFLAGS when building libsparse.a

Respect the LDFALGS provided from the outside when linking libsparse.a

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Hauke Mehrtens 2020-01-05 17:35:25 +01:00
parent ec17045ec0
commit 5c201be7d7

View File

@ -27,7 +27,7 @@ OBJ := \
$(CC) $(CFLAGS) -c -o $@ $^ $(CC) $(CFLAGS) -c -o $@ $^
make_ext4fs: $(OBJ) libsparse/libsparse.a make_ext4fs: $(OBJ) libsparse/libsparse.a
$(CC) -o $@ $^ $(ZLIB) $(CC) $(LDFLAGS)-o $@ $^ $(ZLIB)
libsparse/libsparse.a: libsparse/libsparse.a:
$(MAKE) -C libsparse/ libsparse.a $(MAKE) -C libsparse/ libsparse.a