Browse Source

pigz: something change

Signed-off-by: Ken Wong <xinxijishuwyq@gmail.com>
lilik-openwrt-22.03
Ken Wong 6 years ago
parent
commit
256e1ce2c0
2 changed files with 11 additions and 12 deletions
  1. +0
    -1
      utils/pigz/Makefile
  2. +11
    -11
      utils/pigz/patches/001.patch

+ 0
- 1
utils/pigz/Makefile View File

@ -14,7 +14,6 @@ PKG_LICENSE_FILES:=README
PKG_CPE_ID:=cpe:/a:zlib:pigz
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk


+ 11
- 11
utils/pigz/patches/001.patch View File

@ -1,14 +1,14 @@
--- a/Makefile 2019-05-22 19:54:23.980451289 +0800
+++ b/Makefile 2019-05-09 14:20:36.269505910 +0800
@@ -1,4 +1,3 @@
+++ b/Makefile 2019-06-10 10:32:58.054675929 +0800
@@ -1,7 +1,7 @@
-CC=gcc
CFLAGS=-O3 -Wall -Wextra -Wno-unknown-pragmas
LDFLAGS=
LIBS=-lm -lpthread -lz
@@ -102,3 +101,6 @@ all: pigz pigzj pigzt pigzn docs
-CFLAGS=-O3 -Wall -Wextra -Wno-unknown-pragmas
-LDFLAGS=
-LIBS=-lm -lpthread -lz
+CC?=gcc
+CFLAGS?=-O3 -Wall -Wextra -Wno-unknown-pragmas
+LDFLAGS?=
+LIBS?=-lm -lpthread -lz
ZOPFLI=zopfli/src/zopfli/
ZOP=deflate.o blocksplitter.o tree.o lz77.o cache.o hash.o util.o squeeze.o katajainen.o
clean:
@rm -f *.o pigz unpigz pigzj pigzn pigzt pigz.c.gz pigz.c.zz pigz.c.zip
+
+install:
+ true

Loading…
Cancel
Save