aboutsummaryrefslogtreecommitdiffstats
path: root/tools/make-ext4fs/patches/100-add-ldflags.patch
blob: d9ce47bb8099f988166fe82771600797ebac9a75 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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