X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/49d1bc17655fde37822a5a5daaa428ff2a0493e6..525ee451c1d80d4cb5c99e5f4a901ddb21830d50:/package/ppp/Makefile diff --git a/package/ppp/Makefile b/package/ppp/Makefile index 1f423789b..992d96649 100644 --- a/package/ppp/Makefile +++ b/package/ppp/Makefile @@ -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)"