lpeg: bump to version 1.0.1
[buildroot-gz.git] / package / axfsutils / 0002-use-ldflags.patch
blob20e03a9bb56e2160ca8664023ebe4380c34b56d7
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
5 standard location.
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
12 @@ -6,7 +6,7 @@
13 all: mkfs.axfs
15 mkfs.axfs: $(MKFSOBJS)
16 - $(CC) $(CFLAGS) -o mkfs.axfs $(MKFSOBJS) -lz
17 + $(CC) $(CFLAGS) $(LDFLAGS) -o mkfs.axfs $(MKFSOBJS) -lz
19 clean_mkfs.axfs:
20 rm -rf $(MKFSOBJS) mkfs.axfs