From: Nicolas Thill Date: Sat, 25 Apr 2009 21:03:43 +0000 (+0000) Subject: [packages] vsftpd: compile with target optimizations X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=202bdb5ca5a57e7a4067e7e3af76a20b2a80c40a;p=openwrt%2Fsvn-archive%2Farchive.git [packages] vsftpd: compile with target optimizations SVN-Revision: 15414 --- diff --git a/net/vsftpd/Makefile b/net/vsftpd/Makefile index cce7311342..59aaf10036 100644 --- a/net/vsftpd/Makefile +++ b/net/vsftpd/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2008 OpenWrt.org +# Copyright (C) 2006-2009 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=vsftpd PKG_VERSION:=2.1.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=ftp://vsftpd.beasts.org/users/cevans/ @@ -29,6 +29,13 @@ define Package/vsftpd/conffiles /etc/vsftpd.conf endef +define Build/Compile + $(MAKE) -C $(PKG_BUILD_DIR) \ + CC="$(TARGET_CC)" \ + CFLAGS="$(TARGET_CFLAGS)" \ + vsftpd +endef + define Package/vsftpd/install $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/