summaryrefslogtreecommitdiff
path: root/package/pptp/patches/patch-Makefile
blob: f96b980fed79d6b5c902379974f098c04e4c8bd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- pptp-1.8.0.orig/Makefile	2013-10-23 10:10:46.000000000 +0200
+++ pptp-1.8.0/Makefile	2013-12-22 11:35:12.000000000 +0100
@@ -14,12 +14,13 @@ BINDIR=$(DESTDIR)/usr/sbin
 MANDIR=$(DESTDIR)/usr/share/man/man8
 PPPDIR=$(DESTDIR)/etc/ppp
 
-CC	= gcc
+CC	?= gcc
 RM	= rm -f
 OPTIMIZE= -O -Wuninitialized
 DEBUG	= -g
 INCLUDE =
-CFLAGS  = -Wall $(OPTIMIZE) $(DEBUG) $(INCLUDE)
+CFLAGS  ?=
+CFLAGS  += -Wall $(INCLUDE)
 # Solaris
 # CFLAGS +=  -D_XPG4_2 -D__EXTENSIONS__
 LIBS	= -lutil