From b54a88d64f68b7b0df85887bdc27967e6ee1a678 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 24 Sep 2016 22:17:18 +0200 Subject: lz4: update to 131 --- package/lz4/patches/patch-programs_Makefile | 36 ++++++++++++----------------- 1 file changed, 15 insertions(+), 21 deletions(-) (limited to 'package/lz4/patches/patch-programs_Makefile') diff --git a/package/lz4/patches/patch-programs_Makefile b/package/lz4/patches/patch-programs_Makefile index 81d7e6470..ce43646da 100644 --- a/package/lz4/patches/patch-programs_Makefile +++ b/package/lz4/patches/patch-programs_Makefile @@ -1,26 +1,20 @@ ---- lz4-r118.orig/programs/Makefile 2014-06-26 11:36:13.000000000 +0200 -+++ lz4-r118/programs/Makefile 2014-06-30 08:09:52.000000000 +0200 -@@ -33,8 +33,8 @@ - RELEASE=r118 - DESTDIR= - PREFIX=/usr --CC:=$(CC) --CFLAGS+= -std=c99 -O3 -Wall -W -Wundef -DLZ4_VERSION=\"$(RELEASE)\" -+CC?=$(CC) -+CFLAGS+= -std=c99 -Wall -W -Wundef -DLZ4_VERSION=\"$(RELEASE)\" - FLAGS= -I.. $(CFLAGS) +--- lz4-r131.orig/programs/Makefile 2015-06-29 11:48:37.000000000 +0200 ++++ lz4-r131/programs/Makefile 2016-09-24 02:52:44.112577985 +0200 +@@ -37,7 +37,7 @@ + RELEASE?= r131 - BINDIR=$(PREFIX)/bin -@@ -67,10 +67,10 @@ endif + DESTDIR?= +-PREFIX ?= /usr/local ++PREFIX ?= /usr + CFLAGS ?= -O3 + CFLAGS += -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes -pedantic -DLZ4_VERSION=\"$(RELEASE)\" + FLAGS := -I../lib $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) +@@ -70,7 +70,7 @@ m32: lz4c32 fullbench32 fuzzer32 framete - default: lz4 lz4c + bins: lz4 lz4c fullbench fuzzer frametest datagen --all: lz4 lz4c lz4c32 fullbench fullbench32 fuzzer fuzzer32 datagen -+all: lz4 lz4c +-all: bins m32 ++all: bins - lz4: $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c bench.c xxhash.c lz4io.c lz4cli.c -- $(CC) $(FLAGS) -DDISABLE_LZ4C_LEGACY_OPTIONS $^ -o $@$(EXT) -+ $(CC) $(FLAGS) $^ -o $@$(EXT) - - lz4c : $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c bench.c xxhash.c lz4io.c lz4cli.c + lz4: $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c $(LZ4DIR)/lz4frame.c $(LZ4DIR)/xxhash.c bench.c lz4io.c lz4cli.c $(CC) $(FLAGS) $^ -o $@$(EXT) -- cgit v1.2.3