procmail: pass openwrt cflags to the makefile

git-svn-id: svn://svn.openwrt.org/openwrt/packages@32540 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2012-06-29 21:09:37 +00:00
parent 2287a8f1fe
commit 13a30adb60

View 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