fix patch
[openwrt.git] / openwrt / package / miax / patches / 01-cross.patch
1 diff -ruN miax-1.4-old/Makefile miax-1.4-new/Makefile
2 --- miax-1.4-old/Makefile 2005-04-27 18:56:13.000000000 +0200
3 +++ miax-1.4-new/Makefile 2005-11-30 01:07:21.000000000 +0100
4 @@ -1,4 +1,5 @@
5 -CFLAGS= -Iiax/ -Igsm/inc -DIAXC_IAX2 -DLIBIAX -g -DPOSIXSLEEP -DLINUX -O2
6 +OFLAGS= -02 -g
7 +CFLAGS= -Iiax/ -Igsm/inc $(CPPFLAGS) -DIAXC_IAX2 -DLIBIAX -DPOSIXSLEEP -DLINUX $(OFLAGS)
8 SYSLIBS=-lpthread -lm -lbluetooth
9
10
11 @@ -32,11 +33,10 @@
12 miax.o
13
14 all: $(OBJS)
15 - gcc $(OBJS) $(CFLAGS) $(SYSLIBS) -o miax
16 - cp miax /bin/miax
17 + $(CC) $(OBJS) $(CFLAGS) $(LDFLAGS) $(SYSLIBS) -o miax
18
19 static: $(OBJS) bluetooth.o
20 - gcc $(OBJS) $(CFLAGS) $(SYSLIBS) -static -o miax
21 + $(CC) $(OBJS) $(CFLAGS) $(LDFLAGS) $(SYSLIBS) -static -o miax
22
23 clean:
24 rm -f $(OBJS) miax
This page took 0.042734 seconds and 5 git commands to generate.