mk: prevent overlinking in applications
authorFerruh Yigit <ferruh.yigit@intel.com>
Fri, 10 Jun 2016 13:19:07 +0000 (15:19 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 13 Jun 2016 14:09:58 +0000 (16:09 +0200)
commit6248e442ee01a76d6230472329b6afe9b6628478
treecf49d67128727b322669c5cdc4882fe29fee5ff5
parent4e04fd459c65cae699ba8ece00ed64024728c055
mk: prevent overlinking in applications

Replace --no-as-needed linker flag with --as-needed flag, which will
only link libraries directly called by application.
It can be achieved now that the libraries dependencies are handled
properly.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
mk/exec-env/linuxapp/rte.vars.mk
mk/rte.app.mk