aboutsummaryrefslogblamecommitdiffstats
path: root/main/pigz/reorder-flags.patch
blob: 0ce66c2c9af78a175b34a5ed6c4515d1a07363e4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                                                                                                                                
--- ./Makefile.orig
+++ ./Makefile
@@ -5,7 +5,7 @@
 # use gcc and gmake on Solaris
 
 pigz: pigz.o yarn.o try.o ${ZOPFLI}deflate.o ${ZOPFLI}blocksplitter.o ${ZOPFLI}tree.o ${ZOPFLI}lz77.o ${ZOPFLI}cache.o ${ZOPFLI}hash.o ${ZOPFLI}util.o ${ZOPFLI}squeeze.o ${ZOPFLI}katajainen.o
-	$(CC) $(LDFLAGS) -o pigz $^ -lpthread -lm
+	$(CC) -o pigz $^ -lpthread -lm $(LDFLAGS)
 	ln -f pigz unpigz
 
 pigz.o: pigz.c yarn.h try.h ${ZOPFLI}deflate.h ${ZOPFLI}util.h