From: Thomas Monjalon Date: Fri, 10 Jun 2016 13:19:06 +0000 (+0200) Subject: mk: remove library grouping during application linking X-Git-Tag: spdx-start~6783 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=4e04fd459c65cae699ba8ece00ed64024728c055;p=dpdk.git mk: remove library grouping during application linking >From "man ld": Using this option has a significant performance cost. It is best to use it only when there are unavoidable circular references between two or more archives. Remove the option since it does not seem necessary. Signed-off-by: Thomas Monjalon --- diff --git a/mk/rte.app.mk b/mk/rte.app.mk index 8068e66bab..9306b30f98 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -95,8 +95,6 @@ endif _LDLIBS-$(CONFIG_RTE_PORT_PCAP) += -lpcap endif # !CONFIG_RTE_BUILD_SHARED_LIBS -_LDLIBS-y += --start-group - _LDLIBS-$(CONFIG_RTE_LIBRTE_KVARGS) += -lrte_kvargs _LDLIBS-$(CONFIG_RTE_LIBRTE_MBUF) += -lrte_mbuf _LDLIBS-$(CONFIG_RTE_LIBRTE_IP_FRAG) += -lrte_ip_frag @@ -151,7 +149,7 @@ endif # CONFIG_RTE_LIBRTE_CRYPTODEV endif # ! $(CONFIG_RTE_BUILD_SHARED_LIB) _LDLIBS-y += $(EXECENV_LDLIBS) -_LDLIBS-y += --end-group + _LDLIBS-y += --no-whole-archive LDLIBS += $(_LDLIBS-y) $(CPU_LDLIBS) $(EXTRA_LDLIBS)