summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens2020-01-05 16:35:25 +0000
committerHauke Mehrtens2020-01-05 16:38:08 +0000
commit5c201be7d72aff735da27e17c29852e0cefe3e52 (patch)
tree0521f793d56256b25bbc57a5598c2ab080757136
parentec17045ec0ac95f19221aa29624ab32ade842224 (diff)
downloadmake_ext4fs-5c201be7d72aff735da27e17c29852e0cefe3e52.tar.gz
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>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 908e44a..4b4e4c6 100644
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@ OBJ := \
$(CC) $(CFLAGS) -c -o $@ $^
make_ext4fs: $(OBJ) libsparse/libsparse.a
- $(CC) -o $@ $^ $(ZLIB)
+ $(CC) $(LDFLAGS)-o $@ $^ $(ZLIB)
libsparse/libsparse.a:
$(MAKE) -C libsparse/ libsparse.a