1 Makefile: use LDFLAGS as provided by the user
3 In some circumstances, the user may want to pass some LDFLAGS, like
4 -L flags to point to the zlib location if it was not installed in a
7 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 diff -durN a/mkfs.axfs-legacy/Makefile b/mkfs.axfs-legacy/Makefile
10 --- a/mkfs.axfs-legacy/Makefile
11 +++ b/mkfs.axfs-legacy/Makefile
15 mkfs.axfs: $(MKFSOBJS)
16 - $(CC) $(CFLAGS) -o mkfs.axfs $(MKFSOBJS) -lz
17 + $(CC) $(CFLAGS) $(LDFLAGS) -o mkfs.axfs $(MKFSOBJS) -lz
20 rm -rf $(MKFSOBJS) mkfs.axfs