Convert olsrd to new packaging style, put plugins into sub-packages
[openwrt/svn-archive/archive.git] / openwrt / package / olsrd / patches / olsrd-0.4.9-opt-flags.diff
1 diff -ruN olsrd-0.4.9-orig/Makefile olsrd-0.4.9-1/Makefile
2 --- olsrd-0.4.9-orig/Makefile 2005-03-31 20:39:24.000000000 +0200
3 +++ olsrd-0.4.9-1/Makefile 2005-04-05 02:14:48.000000000 +0200
4 @@ -72,7 +72,8 @@
5 SRCS += $(wildcard src/linux/*.c) $(wildcard src/unix/*.c)
6 HDRS += $(wildcard src/linux/*.h) $(wildcard src/unix/*.h)
7 DEFINES = -Dlinux
8 -CFLAGS ?= $(CCWARNINGS) -O2 -g #-DDEBUG #-pg #-march=i686
9 +OFLAGS ?= -O2 -g
10 +CFLAGS ?= $(CCWARNINGS) $(OFLAGS) #-DDEBUG #-pg #-march=i686
11 LIBS = -lm -ldl #-pg
12 MAKEDEPEND = makedepend -f $(DEPFILE) $(DEFINES) -Y $(INCLUDES) $(SRCS) >/dev/null 2>&1
13