summaryrefslogtreecommitdiff
path: root/package/picocom/patches/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/picocom/patches/patch-Makefile')
-rw-r--r--package/picocom/patches/patch-Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/picocom/patches/patch-Makefile b/package/picocom/patches/patch-Makefile
new file mode 100644
index 000000000..621e7c211
--- /dev/null
+++ b/package/picocom/patches/patch-Makefile
@@ -0,0 +1,18 @@
+--- picocom-1.4.orig/Makefile 2004-08-13 13:18:38.000000000 +0200
++++ picocom-1.4/Makefile 2011-01-21 21:02:02.096749132 +0100
+@@ -2,11 +2,12 @@
+ VERSION=1.4
+
+ # CC = gcc
+-CPPFLAGS=-DVERSION_STR=\"$(VERSION)\" -DUUCP_LOCK_DIR=\"/var/lock\"
+-CFLAGS = -Wall -g
++CPPFLAGS ?=
++CPPFLAGS += -DVERSION_STR=\"$(VERSION)\" -DUUCP_LOCK_DIR=\"/var/lock\"
++CFLAGS ?= -Wall -g
+
+ # LD = gcc
+-LDFLAGS = -g
++LDFLAGS ?= -g
+ LDLIBS =
+
+ picocom : picocom.o term.o