1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-22 05:02:06 +02:00
openwrt-xburst/package/olsrd/patches/olsrd-0.4.9-opt-flags.diff
nico 8f4b79da58 Convert olsrd to new packaging style, put plugins into sub-packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-05-18 14:53:00 +00:00

14 lines
602 B
Diff

diff -ruN olsrd-0.4.9-orig/Makefile olsrd-0.4.9-1/Makefile
--- olsrd-0.4.9-orig/Makefile 2005-03-31 20:39:24.000000000 +0200
+++ olsrd-0.4.9-1/Makefile 2005-04-05 02:14:48.000000000 +0200
@@ -72,7 +72,8 @@
SRCS += $(wildcard src/linux/*.c) $(wildcard src/unix/*.c)
HDRS += $(wildcard src/linux/*.h) $(wildcard src/unix/*.h)
DEFINES = -Dlinux
-CFLAGS ?= $(CCWARNINGS) -O2 -g #-DDEBUG #-pg #-march=i686
+OFLAGS ?= -O2 -g
+CFLAGS ?= $(CCWARNINGS) $(OFLAGS) #-DDEBUG #-pg #-march=i686
LIBS = -lm -ldl #-pg
MAKEDEPEND = makedepend -f $(DEPFILE) $(DEFINES) -Y $(INCLUDES) $(SRCS) >/dev/null 2>&1