1707ecb707ef8f2eaa3cfa9e6700432afc78f4af
[openwrt/svn-archive/archive.git] / multimedia / palantir / patches / 001-opt_flags.patch
1 Index: palantir-2.7/server/libgsm/Makefile
2 ===================================================================
3 --- palantir-2.7.orig/server/libgsm/Makefile 2008-04-07 22:35:39.000000000 +0200
4 +++ palantir-2.7/server/libgsm/Makefile 2008-04-07 22:35:39.000000000 +0200
5 @@ -53,7 +53,7 @@
6 endif
7
8 CC += -ansi -pedantic
9 -CCFLAGS = -c -O2 -DNeedFunctionPrototypes=1
10 +CCFLAGS = -c $(COPTS) -DNeedFunctionPrototypes=1
11
12 LD = $(CC)
13
14 Index: palantir-2.7/server/Makefile
15 ===================================================================
16 --- palantir-2.7.orig/server/Makefile 2008-04-07 22:35:39.000000000 +0200
17 +++ palantir-2.7/server/Makefile 2008-04-07 22:35:39.000000000 +0200
18 @@ -47,7 +47,7 @@
19 .PHONY : tools man
20
21
22 -CFLAGS= -Wall -D_REENTRANT -O2 -g
23 +CFLAGS= -Wall -D_REENTRANT $(COPTS)
24 # -O3
25 CC= gcc
26 libjpeg= -ljpeg