From: Felix Fietkau Date: Fri, 29 Jun 2012 21:09:37 +0000 (+0000) Subject: procmail: pass openwrt cflags to the makefile X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d6ddf07319249261fc653b00a622949c115d1c83;p=openwrt%2Fsvn-archive%2Farchive.git procmail: pass openwrt cflags to the makefile SVN-Revision: 32540 --- diff --git a/mail/procmail/Makefile b/mail/procmail/Makefile index 18e2bcf67c..f006e1287b 100644 --- a/mail/procmail/Makefile +++ b/mail/procmail/Makefile @@ -30,9 +30,12 @@ define Package/procmail/description Very useful in conjunction with mutt. endef +TARGET_CFLAGS += -DPROCMAIL + define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR)/src -f ../Makefile.openwrt \ - $(TARGET_CONFIGURE_OPTS) + $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" endef define Package/procmail/install