summaryrefslogtreecommitdiff
path: root/package/mISDNuser/patches/patch-Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-03-01 13:19:12 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-03-01 13:19:12 +0100
commitf2ea9e8dbd4cc3c77ff4cc52688d7057d3289fab (patch)
tree72ec81acffa69f2c89e52a38603a6f92fb1e72ae /package/mISDNuser/patches/patch-Makefile
parentdce7d2df8c73896aeef77118fe89fc7e88d035fe (diff)
parent0943b7422376747a452bda5562c73d673cccbe68 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/mISDNuser/patches/patch-Makefile')
-rw-r--r--package/mISDNuser/patches/patch-Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/mISDNuser/patches/patch-Makefile b/package/mISDNuser/patches/patch-Makefile
new file mode 100644
index 000000000..77846228f
--- /dev/null
+++ b/package/mISDNuser/patches/patch-Makefile
@@ -0,0 +1,16 @@
+ allow CC override
+ allow CFLAGS enhancement
+--- mISDNuser-1_1_9.orig/Makefile 2009-01-21 18:06:34.000000000 +0100
++++ mISDNuser-1_1_9/Makefile 2011-07-11 17:14:13.425001831 +0200
+@@ -28,7 +28,10 @@ export INCLUDEDIR
+ LIBDIR=/usr/lib
+ export LIBDIR
+
+-CFLAGS:= -g -Wall -I $(INCLUDEDIR) -I $(MISDNINCLUDEDIR)
++CC ?= gcc
++export CC
++
++CFLAGS+= -g -Wall -I $(INCLUDEDIR) -I $(MISDNINCLUDEDIR)
+ CFLAGS+= -D CLOSE_REPORT=1
+
+ #disable this if your system does not support PIC (position independent code)