From 5c201be7d72aff735da27e17c29852e0cefe3e52 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 5 Jan 2020 17:35:25 +0100 Subject: [PATCH] Add LDFLAGS when building libsparse.a Respect the LDFALGS provided from the outside when linking libsparse.a Signed-off-by: Hauke Mehrtens --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2