X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/49d1bc17655fde37822a5a5daaa428ff2a0493e6..5e10b16d95550d4656d8b594f3cbb6a3892db688:/package/ppp/Makefile?ds=inline diff --git a/package/ppp/Makefile b/package/ppp/Makefile index 1f423789b..3aefed314 100644 --- a/package/ppp/Makefile +++ b/package/ppp/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2010 OpenWrt.org +# Copyright (C) 2006-2011 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=ppp PKG_VERSION:=2.4.4 -PKG_RELEASE:=16 +PKG_RELEASE:=17 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=ftp://ftp.samba.org/pub/ppp/ @@ -41,7 +41,7 @@ endef define Package/ppp-multilink $(call Package/ppp/Default) DEPENDS:=+kmod-ppp - TITLE:=PPP daemon + TITLE:=PPP daemon (with multilink support) VARIANT:=multilink endef @@ -140,6 +140,9 @@ $(call Build/Configure/Default,, \ $(PKG_BUILD_DIR)/pppd/plugins/pppoatm/linux/ endef +TARGET_CFLAGS += -ffunction-sections -fdata-sections +MAKE_VARS += LDFLAGS="-Wl,--gc-sections" + MAKE_FLAGS += COPTS="$(TARGET_CFLAGS)" \ PRECOMPILED_FILTER=1 \ STAGING_DIR="$(STAGING_DIR)"