[package] iwinfo: fix segmentation fault when doing two consecutive scans through...
[openwrt.git] / package / comgt / patches / 001-compile_fix.patch
1 --- a/Makefile
2 +++ b/Makefile
3 @@ -32,6 +32,7 @@ SCRIPTPATH = /etc/comgt/
4 SCRIPTSRC = ./scripts/
5 BIN = $(CPROG)
6 MANP = comgt.1 sigmon.1
7 +CC = cc
8
9 CFLAGS = -c
10 LDFLAGS =
11 @@ -70,10 +71,5 @@ clean:
12 -rm *~
13 -rm $(SCRIPTSRC)*~
14
15 -
16 -comgt: comgt.o
17 - cc comgt.o $(LDFLAGS) -o comgt
18 -
19 -comgt.o: comgt.c comgt.h
20 - cc comgt.c $(CFLAGS)
21 -
22 +comgt: comgt.c comgt.h
23 + $(CC) $(CFLAGS) -o comgt $< $(LDFLAGS)
This page took 0.044609 seconds and 5 git commands to generate.