summaryrefslogtreecommitdiff
path: root/openwrt/package/olsrd/patches/olsrd-0.4.10-opt-flags.diff
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/olsrd/patches/olsrd-0.4.10-opt-flags.diff')
-rw-r--r--openwrt/package/olsrd/patches/olsrd-0.4.10-opt-flags.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/openwrt/package/olsrd/patches/olsrd-0.4.10-opt-flags.diff b/openwrt/package/olsrd/patches/olsrd-0.4.10-opt-flags.diff
new file mode 100644
index 0000000..02d1cc8
--- /dev/null
+++ b/openwrt/package/olsrd/patches/olsrd-0.4.10-opt-flags.diff
@@ -0,0 +1,12 @@
+diff -ruN olsrd-0.4.10-old/Makefile.inc olsrd-0.4.10-new/Makefile.inc
+--- olsrd-0.4.10-old/Makefile.inc 2006-01-01 16:58:20.000000000 +0100
++++ olsrd-0.4.10-new/Makefile.inc 2006-01-05 17:57:23.000000000 +0100
+@@ -21,7 +21,7 @@
+ ifndef CFLAGS
+ CFLAGS += -Wall -Wmissing-prototypes -Wstrict-prototypes \
+ -Wmissing-declarations -Wsign-compare
+-CFLAGS += -O2 -g
++CFLAGS += $(OFLAGS)
+ endif
+
+ ifdef OLSRD_PLUGIN