mirror of
https://git.openwrt.org/project/make_ext4fs.git
synced 2024-11-21 23:00:39 -05:00
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:
parent
ec17045ec0
commit
5c201be7d7
2
Makefile
2
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user