summaryrefslogtreecommitdiff
path: root/package/lzip/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-24 22:17:42 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-24 22:27:24 +0200
commitbe43d5ab3f911789418725072c3bcea83c64f2e4 (patch)
treea25e35d73e9a54a41630e4f4087c953c5403e421 /package/lzip/patches
parentb54a88d64f68b7b0df85887bdc27967e6ee1a678 (diff)
lzip: fix hostbuild
Diffstat (limited to 'package/lzip/patches')
-rw-r--r--package/lzip/patches/patch-configure17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/lzip/patches/patch-configure b/package/lzip/patches/patch-configure
new file mode 100644
index 000000000..3ac80460f
--- /dev/null
+++ b/package/lzip/patches/patch-configure
@@ -0,0 +1,17 @@
+--- lzip-1.17.orig/configure 2015-07-09 18:58:33.000000000 +0200
++++ lzip-1.17/configure 2016-09-24 13:07:38.493476268 +0200
+@@ -20,10 +20,10 @@ bindir='$(exec_prefix)/bin'
+ datarootdir='$(prefix)/share'
+ infodir='$(datarootdir)/info'
+ mandir='$(datarootdir)/man'
+-CXX=g++
+-CPPFLAGS=
+-CXXFLAGS='-Wall -W -O2'
+-LDFLAGS=
++CXX?=g++
++CPPFLAGS?=
++CXXFLAGS?='-Wall -W -O2'
++LDFLAGS?=
+
+ # checking whether we are using GNU C++.
+ ${CXX} --version > /dev/null 2>&1