gcc: disable mips non-PIC ABI calls in the codesourcery based version by default...
[openwrt.git] / tools / squashfs / patches / 100-lzma.patch
1 --- a/squashfs-tools/Makefile
2 +++ b/squashfs-tools/Makefile
3 @@ -7,6 +8,9 @@ all: mksquashfs unsquashfs
4 mksquashfs: mksquashfs.o read_fs.o sort.o
5 $(CC) mksquashfs.o read_fs.o sort.o -lz -o $@
6
7 +mksquashfs-lzma: mksquashfs.o read_fs.o sort.o
8 + $(CXX) mksquashfs.o read_fs.o sort.o -L$(LZMAPATH) -llzma-old -o $@
9 +
10 mksquashfs.o: mksquashfs.c squashfs_fs.h mksquashfs.h global.h sort.h
11
12 read_fs.o: read_fs.c squashfs_fs.h read_fs.h global.h
13 @@ -16,4 +20,9 @@ sort.o: sort.c squashfs_fs.h global.h so
14 unsquashfs: unsquashfs.o
15 $(CC) unsquashfs.o -lz -o $@
16
17 +unsquashfs-lzma: unsquashfs.o
18 + $(CXX) unsquashfs.o -L$(LZMAPATH) -llzma-old -o $@
19 +
20 unsquashfs.o: unsquashfs.c squashfs_fs.h read_fs.h global.h
21 +
22 +clean:
This page took 0.04011 seconds and 5 git commands to generate.