aboutsummaryrefslogtreecommitdiffstats
path: root/package/olsrd/patches/olsrd-0.4.9-opt-flags.diff
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-05-18 14:53:00 +0000
committerNicolas Thill <nico@openwrt.org>2005-05-18 14:53:00 +0000
commit1557a74f95e83a10b0616a26b9f1debed21719ac (patch)
tree50edbd59bdc994807e7ba64ca4a00c270a236f7b /package/olsrd/patches/olsrd-0.4.9-opt-flags.diff
parent8a2e04dd649cd39d9ac179c0ff3c5f948805c1b1 (diff)
downloadupstream-1557a74f95e83a10b0616a26b9f1debed21719ac.tar.gz
upstream-1557a74f95e83a10b0616a26b9f1debed21719ac.tar.bz2
upstream-1557a74f95e83a10b0616a26b9f1debed21719ac.zip
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
Diffstat (limited to 'package/olsrd/patches/olsrd-0.4.9-opt-flags.diff')
-rw-r--r--package/olsrd/patches/olsrd-0.4.9-opt-flags.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/olsrd/patches/olsrd-0.4.9-opt-flags.diff b/package/olsrd/patches/olsrd-0.4.9-opt-flags.diff
new file mode 100644
index 0000000000..c601ae015b
--- /dev/null
+++ b/package/olsrd/patches/olsrd-0.4.9-opt-flags.diff
@@ -0,0 +1,13 @@
+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
+