summaryrefslogtreecommitdiffstats
path: root/mail/xmail/patches/040-honour_opt_flags.patch
blob: 99cc46fbfd4b70a9c7444e43b2a86eebced61963 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/Makefile.common
+++ b/Makefile.common
@@ -24,10 +24,10 @@ ifeq ($(DEBUG_OSSL), 1)
 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