X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=ipv6%2Fmiredo%2FMakefile;h=8527db824db4385801f6bc683030023844b8c2e5;hb=35f4ef76e0c88b690ec55f26aed072c4c5989eff;hp=9e1390a233a99ab87327f2d471645b96f630524c;hpb=565866a47210c9711c29173052063779b6d3bcfc;p=feed%2Fpackages.git diff --git a/ipv6/miredo/Makefile b/ipv6/miredo/Makefile index 9e1390a233..8527db824d 100644 --- a/ipv6/miredo/Makefile +++ b/ipv6/miredo/Makefile @@ -14,6 +14,7 @@ PKG_CONFIG_DEPENDS:= \ PKG_BUILD_PARALLEL:=1 PKG_CHECK_FORMAT_SECURITY:=0 PKG_INSTALL:=1 +PKG_BUILD_FLAGS:=gc-sections PKG_MAINTAINER:= PKG_LICENSE:=GPL-2.0-or-later @@ -52,11 +53,7 @@ CONFIGURE_VARS += \ ac_cv_header_sys_capability_h=no TARGET_CFLAGS+= \ - $(FPIC) \ - -ffunction-sections \ - -fdata-sections - -TARGET_LDFLAGS += -Wl,--gc-sections + $(FPIC) define Package/miredo/install $(INSTALL_DIR) $(1)/usr/lib