From 256e1ce2c0667252ace3207e9c215138b877fb98 Mon Sep 17 00:00:00 2001 From: Ken Wong Date: Mon, 10 Jun 2019 10:46:42 +0800 Subject: [PATCH] pigz: something change Signed-off-by: Ken Wong --- utils/pigz/Makefile | 1 - utils/pigz/patches/001.patch | 22 +++++++++++----------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/utils/pigz/Makefile b/utils/pigz/Makefile index 36ad16b90..7f76a0880 100644 --- a/utils/pigz/Makefile +++ b/utils/pigz/Makefile @@ -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 diff --git a/utils/pigz/patches/001.patch b/utils/pigz/patches/001.patch index bf9b8666d..b75daa1b7 100644 --- a/utils/pigz/patches/001.patch +++ b/utils/pigz/patches/001.patch @@ -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