procmail: pass openwrt cflags to the makefile
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 29 Jun 2012 21:09:37 +0000 (21:09 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 29 Jun 2012 21:09:37 +0000 (21:09 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32540 3c298f89-4303-0410-b956-a3cf2f4a3e73

mail/procmail/Makefile

index 18e2bcf..f006e12 100644 (file)
@@ -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