Initial commit
This commit is contained in:
11
tools/make-ext4fs/patches/100-add-ldflags.patch
Normal file
11
tools/make-ext4fs/patches/100-add-ldflags.patch
Normal file
@@ -0,0 +1,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
|
||||
Reference in New Issue
Block a user