projects
/
project
/
make_ext4fs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec17045
)
Add LDFLAGS when building libsparse.a
master
author
Hauke Mehrtens
<hauke@hauke-m.de>
Sun, 5 Jan 2020 16:35:25 +0000
(17:35 +0100)
committer
Hauke Mehrtens
<hauke@hauke-m.de>
Sun, 5 Jan 2020 16:38:08 +0000
(17:38 +0100)
Respect the LDFALGS provided from the outside when linking libsparse.a
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 908e44a43646fe1ba9318c320ccb8a2244e3c59e..4b4e4c67a40dc854b9ac852688310309b6817374 100644
(file)
--- 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