xmail: Update to version 1.27
[packages.git] / mail / xmail / patches / 040-honour_opt_flags.patch
1 --- a/Makefile.common
2 +++ b/Makefile.common
3 @@ -24,10 +24,10 @@ ifeq ($(DEBUG_OSSL), 1)
4  endif
5  
6  ifeq ($(XMAIL_DEBUG), 1)
7 -    CFLAGS := $(CFLAGS) -O0 -g
8 +    CFLAGS := -O0 -g $(CFLAGS)
9      STRIP = touch
10  else
11 -    CFLAGS := $(CFLAGS) -O2
12 +    CFLAGS := -O2 $(CFLAGS)
13  endif
14  
15  OUTDIR = bin