From 13a30adb60cc923436a632b47eadf44d7f391e57 Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 29 Jun 2012 21:09:37 +0000 Subject: [PATCH] procmail: pass openwrt cflags to the makefile git-svn-id: svn://svn.openwrt.org/openwrt/packages@32540 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- mail/procmail/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mail/procmail/Makefile b/mail/procmail/Makefile index 18e2bcf67..f006e1287 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