From 9857acfb37940b2e0e821b522605d1e65885ef82 Mon Sep 17 00:00:00 2001 From: nico Date: Mon, 3 Sep 2007 16:00:43 +0000 Subject: [PATCH] add a patch to let our optimization flags override default ones git-svn-id: svn://svn.openwrt.org/openwrt/packages@8599 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/xmail/patches/040-honour_opt_flags.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 net/xmail/patches/040-honour_opt_flags.patch diff --git a/net/xmail/patches/040-honour_opt_flags.patch b/net/xmail/patches/040-honour_opt_flags.patch new file mode 100644 index 000000000..5440f321c --- /dev/null +++ b/net/xmail/patches/040-honour_opt_flags.patch @@ -0,0 +1,16 @@ +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