summaryrefslogtreecommitdiff
path: root/package/picocom/patches/patch-Makefile
blob: 6c08b9d12b9418f0035f76d26a27b586542e6a0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- picocom-1.7.orig/Makefile	2012-02-21 06:42:24.000000000 +0100
+++ picocom-1.7/Makefile	2013-12-26 09:43:38.000000000 +0100
@@ -4,13 +4,14 @@ VERSION=1.7
 UUCP_LOCK_DIR=/var/lock
 
 # CC = gcc
-CPPFLAGS=-DVERSION_STR=\"$(VERSION)\" \
+CPPFLAGS ?=
+CPPFLAGS+=-DVERSION_STR=\"$(VERSION)\" \
          -DUUCP_LOCK_DIR=\"$(UUCP_LOCK_DIR)\" \
          -DHIGH_BAUD
-CFLAGS = -Wall -g
+CFLAGS ?= -Wall -g
 
 # LD = gcc
-LDFLAGS = -g
+LDFLAGS ?= -g
 LDLIBS =
 
 picocom : picocom.o term.o