summaryrefslogtreecommitdiff
path: root/package/libcli/patches
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/libcli/patches
Initial import
Diffstat (limited to 'package/libcli/patches')
-rw-r--r--package/libcli/patches/patch-Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/package/libcli/patches/patch-Makefile b/package/libcli/patches/patch-Makefile
new file mode 100644
index 000000000..26f11e041
--- /dev/null
+++ b/package/libcli/patches/patch-Makefile
@@ -0,0 +1,23 @@
+$Id$
+allow CFLAGS overwrite, change some defaults
+--- libcli-1.8.6.orig/Makefile 2006-03-07 00:13:11.000000000 +0100
++++ libcli-1.8.6/Makefile 2007-01-07 21:27:49.000000000 +0100
+@@ -1,14 +1,14 @@
+ DESTDIR =
+-PREFIX = /usr/local
++PREFIX = /usr
+
+ MAJOR = 1
+ MINOR = 8
+ REVISION = 6
+ LIB = libcli.so
+
+-CC = gcc
+-DEBUG = -g
+-OPTIM = -O3
++#CC := gcc
++#DEBUG = -g
++#OPTIM = -O3
+ CFLAGS += $(DEBUG) $(OPTIM) -Wall -Wformat-security -Wno-format-zero-length
+ LDFLAGS += -shared -Wl,-soname,$(LIB).$(MAJOR).$(MINOR)
+ LIBPATH += -L.