summaryrefslogtreecommitdiff
path: root/package/capi4k-utils/patches/patch-pppdcapiplugin_Rules_make
diff options
context:
space:
mode:
authorPhil Sutter <phil.sutter@viprinet.com>2015-02-24 12:46:53 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-28 10:14:26 +0100
commit2c5a022d3e65779668f071446d80cf27bfe4c037 (patch)
tree4c06a5066bd7520b6fe0339ac82499389070697d /package/capi4k-utils/patches/patch-pppdcapiplugin_Rules_make
parent4b45b4b6517d76d769dafa6da23ef13aa1315388 (diff)
port packages mISDN, mISDNuser and capi4k-utils
mISDN still has some unresolved problems with sysfs object creation, to be fixed.
Diffstat (limited to 'package/capi4k-utils/patches/patch-pppdcapiplugin_Rules_make')
-rw-r--r--package/capi4k-utils/patches/patch-pppdcapiplugin_Rules_make18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/capi4k-utils/patches/patch-pppdcapiplugin_Rules_make b/package/capi4k-utils/patches/patch-pppdcapiplugin_Rules_make
new file mode 100644
index 000000000..cd54324e6
--- /dev/null
+++ b/package/capi4k-utils/patches/patch-pppdcapiplugin_Rules_make
@@ -0,0 +1,18 @@
+ allow CC, CFLAGS and LDFLAGS override
+--- capi4k-utils.orig/pppdcapiplugin/Rules.make 2001-05-01 14:43:49.000000000 +0200
++++ capi4k-utils/pppdcapiplugin/Rules.make 2011-07-14 17:13:53.567001779 +0200
+@@ -10,11 +10,11 @@
+
+ vpath %.c $(TOPDIR)
+
+-CC = gcc
++CC ?= gcc
+ INC = -I$(TOPDIR) -I$(CAPIINC) -Ipppd
+ DEFS = -DPPPVER=$(shell $(TOPDIR)/pversion $(PPPVERSION))
+-CFLAGS = -O2 -Wall -fPIC $(DEFS) $(INC) -L$(CAPILIB)
+-LDFLAGS = -shared -L$(CAPILIB)
++CFLAGS += -O2 -Wall -fPIC $(DEFS) $(INC) -L$(CAPILIB)
++LDFLAGS += -shared -L$(CAPILIB)
+
+ ALL = capiplugin.so userpass.so
+