[PATCH v3 5/6] mk: remove library grouping during application linking
From: Ferruh Yigit <hidden>
Date: 2016-06-10 18:33:38
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Ferruh Yigit <hidden>
Date: 2016-06-10 18:33:38
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Thomas Monjalon <redacted>
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 <redacted> Signed-off-by: Ferruh Yigit <redacted> --- mk/rte.app.mk | 3 --- 1 file changed, 3 deletions(-)
diff --git a/mk/rte.app.mk b/mk/rte.app.mk
index a518527..f60e5bf 100644
--- a/mk/rte.app.mk
+++ b/mk/rte.app.mk@@ -125,8 +125,6 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_METER) += -lrte_meter _LDLIBS-$(CONFIG_RTE_LIBRTE_SCHED) += -lrte_sched _LDLIBS-$(CONFIG_RTE_LIBRTE_VHOST) += -lrte_vhost -_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
@@ -139,7 +137,6 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_CMDLINE) += -lrte_cmdline _LDLIBS-$(CONFIG_RTE_LIBRTE_CFGFILE) += -lrte_cfgfile _LDLIBS-y += $(EXECENV_LDLIBS) -_LDLIBS-y += --end-group # The static libraries do not know their dependencies. # So linking with static library requires explicit dependencies.
--
2.5.5