From: Hauke Mehrtens Date: Sun, 5 Jan 2020 16:35:25 +0000 (+0100) Subject: Add LDFLAGS when building libsparse.a X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=HEAD;p=project%2Fmake_ext4fs.git Add LDFLAGS when building libsparse.a Respect the LDFALGS provided from the outside when linking libsparse.a Signed-off-by: Hauke Mehrtens --- 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