summaryrefslogtreecommitdiff
path: root/package/pptpd/patches/patch-plugins_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/pptpd/patches/patch-plugins_Makefile')
-rw-r--r--package/pptpd/patches/patch-plugins_Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/pptpd/patches/patch-plugins_Makefile b/package/pptpd/patches/patch-plugins_Makefile
new file mode 100644
index 000000000..cb32dd4ce
--- /dev/null
+++ b/package/pptpd/patches/patch-plugins_Makefile
@@ -0,0 +1,11 @@
+--- pptpd-1.3.4.orig/plugins/Makefile 2006-08-03 04:02:01.000000000 +0200
++++ pptpd-1.3.4/plugins/Makefile 2010-05-30 00:31:31.390625000 +0200
+@@ -1,6 +1,6 @@
+-CC = gcc
++CC ?= gcc
+ COPTS = -O2 -g
+-CFLAGS = $(COPTS) -I.. -I../../include -fPIC
++CFLAGS ?= $(COPTS) -I.. -I../../include -fPIC
+ LDFLAGS = -shared
+ LDADD = -lutil
+ INSTALL = install -o root