[packages] move packages to a new 'mail' section, cleanup
[openwrt/svn-archive/archive.git] / mail / xmail / patches / 040-honour_opt_flags.patch
1 diff -ruN xmail-1.24-old/Makefile.common xmail-1.24-new/Makefile.common
2 --- xmail-1.24-old/Makefile.common 2007-09-01 17:30:57.000000000 +0200
3 +++ xmail-1.24-new/Makefile.common 2007-09-01 17:34:00.000000000 +0200
4 @@ -24,10 +24,10 @@
5 endif
6
7 ifeq ($(XMAIL_DEBUG), 1)
8 - CFLAGS := $(CFLAGS) -O0 -g
9 + CFLAGS := -O0 -g $(CFLAGS)
10 STRIP = touch
11 else
12 - CFLAGS := $(CFLAGS) -O2
13 + CFLAGS := -O2 $(CFLAGS)
14 endif
15
16 OUTDIR = bin