packages/mail/xmail/patches/040-honour_opt_flags.patch
florian c1674636bd Update xmail to 1.25 (#3607)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@11718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-06 14:56:42 +00:00

16 lines
269 B
Diff

--- a/Makefile.common
+++ b/Makefile.common
@@ -24,10 +24,10 @@
endif
ifeq ($(XMAIL_DEBUG), 1)
- CFLAGS := $(CFLAGS) -O0 -g
+ CFLAGS := -O0 -g $(CFLAGS)
STRIP = touch
else
- CFLAGS := $(CFLAGS) -O2
+ CFLAGS := -O2 $(CFLAGS)
endif
OUTDIR = bin