packages/mail/xmail/patches/040-honour_opt_flags.patch

17 lines
439 B
Diff
Raw Normal View History

diff -ruN xmail-1.24-old/Makefile.common xmail-1.24-new/Makefile.common
--- xmail-1.24-old/Makefile.common 2007-09-01 17:30:57.000000000 +0200
+++ xmail-1.24-new/Makefile.common 2007-09-01 17:34:00.000000000 +0200
@@ -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