make_ext4fs: add missing space after LDFLAGS master
authorKonstantin Demin <rockdrilla@gmail.com>
Thu, 1 May 2025 18:39:41 +0000 (21:39 +0300)
committerChristian Marangi <ansuelsmth@gmail.com>
Thu, 1 May 2025 21:54:01 +0000 (23:54 +0200)
If LDFLAGS is non-empty then next standing "-o" flag may be mistakenly
appended to it leading to build error.

Fixes: 5c201be7d72a ("Add LDFLAGS when building libsparse.a")
Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
[ improve commit description ]
Link: https://github.com/openwrt/make_ext4fs/pull/3
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Makefile

index 4b4e4c67a40dc854b9ac852688310309b6817374..4a22ea140ee22d6eacc72279fe487f50f6347feb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@ OBJ := \
        $(CC) $(CFLAGS) -c -o $@ $^
 
 make_ext4fs: $(OBJ) libsparse/libsparse.a
-       $(CC) $(LDFLAGS)-o $@ $^ $(ZLIB)
+       $(CC) $(LDFLAGS) -o $@ $^ $(ZLIB)
 
 libsparse/libsparse.a:
        $(MAKE) -C libsparse/ libsparse.a