fix segfault and set right dependency
[openwrt/svn-archive/archive.git] / net / olsrd / patches / 110-cflags.patch
1 Index: olsrd-0.5.2/Makefile.inc
2 ===================================================================
3 --- olsrd-0.5.2.orig/Makefile.inc 2007-08-03 04:25:53.320043315 +0200
4 +++ olsrd-0.5.2/Makefile.inc 2007-08-03 04:25:57.816299546 +0200
5 @@ -62,7 +62,7 @@ LDFLAGS += -Wl,-export-dynamic
6 endif
7
8 # options to save space on small systems
9 -DEFINES += -DSUPPORT_OLD_PLUGIN_VERSIONS=1
10 +CFLAGS += -DSUPPORT_OLD_PLUGIN_VERSIONS=1
11
12 # search sources and headers in current dir and in src/
13 SRCS = $(wildcard src/*.c)
14 @@ -102,7 +102,7 @@ endif
15 CFLAGS += -MD
16
17 # we always need the includes and defines
18 -CFLAGS += $(INCLUDES) $(DEFINES)
19 +CFLAGS += $(INCLUDES)
20
21 TAGFILE ?= src/TAGS
22