1dcb75190db785e55d6e63c6550e2401bda458bc
[openwrt/svn-archive/archive.git] / multimedia / palantir / patches / 001-opt_flags.patch
1 diff -ruN palantir-2.6-old/server/Makefile palantir-2.6-new/server/Makefile
2 --- palantir-2.6-old/server/Makefile 2005-09-02 14:33:50.000000000 +0200
3 +++ palantir-2.6-new/server/Makefile 2006-10-27 23:53:10.000000000 +0200
4 @@ -47,7 +47,7 @@
5 .PHONY : tools man
6
7
8 -CFLAGS= -Wall -D_REENTRANT -O3 -g
9 +CFLAGS= -Wall -D_REENTRANT $(COPTS)
10 CC= gcc
11 libjpeg= -ljpeg
12
13 diff -ruN palantir-2.6-old/server/libgsm/Makefile palantir-2.6-new/server/libgsm/Makefile
14 --- palantir-2.6-old/server/libgsm/Makefile 2005-08-14 00:16:27.000000000 +0200
15 +++ palantir-2.6-new/server/libgsm/Makefile 2006-10-27 23:53:44.000000000 +0200
16 @@ -51,7 +51,7 @@
17 endif
18
19 CC += -ansi -pedantic
20 -CCFLAGS = -c -O2 -DNeedFunctionPrototypes=1
21 +CCFLAGS = -c $(COPTS) -DNeedFunctionPrototypes=1
22
23 LD = $(CC)
24