summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian/0001-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/debian/0001-build.patch')
-rw-r--r--debian/patches/debian/0001-build.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/debian/0001-build.patch b/debian/patches/debian/0001-build.patch
new file mode 100644
index 0000000..2a6d59b
--- /dev/null
+++ b/debian/patches/debian/0001-build.patch
@@ -0,0 +1,19 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Avoid overwriting build-environment.
+
+diff -Naurp lzlib.orig/configure lzlib/configure
+--- lzlib.orig/configure
++++ lzlib/configure
+@@ -29,9 +29,9 @@ infodir='$(datarootdir)/info'
+ libdir='$(exec_prefix)/lib'
+ mandir='$(datarootdir)/man'
+ CC=gcc
+-CPPFLAGS=
+-CFLAGS='-Wall -W -O2'
+-LDFLAGS=
++#CPPFLAGS=
++#CFLAGS='-Wall -W -O2'
++#LDFLAGS=
+
+ # checking whether we are using GNU C.
+ /bin/sh -c "${CC} --version" > /dev/null 2>&1 || { CC=cc ; CFLAGS=-O2 ; }