summaryrefslogtreecommitdiff
path: root/package/lz4/patches/patch-lib_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/lz4/patches/patch-lib_Makefile')
-rw-r--r--package/lz4/patches/patch-lib_Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/lz4/patches/patch-lib_Makefile b/package/lz4/patches/patch-lib_Makefile
new file mode 100644
index 000000000..168b1870c
--- /dev/null
+++ b/package/lz4/patches/patch-lib_Makefile
@@ -0,0 +1,11 @@
+--- lz4-r131.orig/lib/Makefile 2015-06-29 11:48:37.000000000 +0200
++++ lz4-r131/lib/Makefile 2016-09-24 02:53:43.222879939 +0200
+@@ -38,7 +38,7 @@ LIBVER_PATCH=`sed -n '/define LZ4_VERSIO
+ LIBVER=$(LIBVER_MAJOR).$(LIBVER_MINOR).$(LIBVER_PATCH)
+
+ DESTDIR?=
+-PREFIX ?= /usr/local
++PREFIX ?= /usr
+ CFLAGS ?= -O3
+ CFLAGS += -I. -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -pedantic -DXXH_NAMESPACE=LZ4_
+