blob: cd54324e6686da65de9b0efdc02145f13b89bae1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
|