summaryrefslogtreecommitdiffstats
path: root/package/olsrd/patches/olsrd-0.4.10-opt-flags.diff
diff options
context:
space:
mode:
Diffstat (limited to 'package/olsrd/patches/olsrd-0.4.10-opt-flags.diff')
-rw-r--r--package/olsrd/patches/olsrd-0.4.10-opt-flags.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/olsrd/patches/olsrd-0.4.10-opt-flags.diff b/package/olsrd/patches/olsrd-0.4.10-opt-flags.diff
new file mode 100644
index 000000000..02d1cc813
--- /dev/null
+++ b/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