X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;ds=inline;f=package%2Fnetwork%2Futils%2Fcurl%2FMakefile;h=af38ed4aed662f4ceaa1d7087606e3b9dd82f313;hb=ba97a03d7d08bfd2a26ab2e7a83ef93dbf102cfe;hp=319c0b710d2b4ead9492ab2bd6cb5c61c2fd7870;hpb=a4d646cf155f187892b6461d364546957dafd59d;p=openwrt%2F.git diff --git a/package/network/utils/curl/Makefile b/package/network/utils/curl/Makefile index 319c0b710d..af38ed4aed 100644 --- a/package/network/utils/curl/Makefile +++ b/package/network/utils/curl/Makefile @@ -99,8 +99,9 @@ define Package/libcurl/config source "$(SOURCE)/Config.in" endef -TARGET_CFLAGS += $(FPIC) +TARGET_CFLAGS += $(FPIC) -ffunction-sections -fdata-sections TARGET_CPPFLAGS += $(if $(CONFIG_LIBCURL_NTLM),,-DCURL_DISABLE_NTLM) +TARGET_LDFLAGS += -Wl,--gc-sections CONFIGURE_ARGS += \ --disable-debug \