[dpdk-dev] [PATCH v2 4/6] mk: prevent overlinking in applications

2016-06-10 Thread Thomas Monjalon
2016-06-10 15:56, Ferruh Yigit: > On 6/10/2016 2:19 PM, Thomas Monjalon wrote: > > From: Ferruh Yigit > > > > 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

[dpdk-dev] [PATCH v2 4/6] mk: prevent overlinking in applications

2016-06-10 Thread Ferruh Yigit
On 6/10/2016 2:19 PM, Thomas Monjalon wrote: > From: Ferruh Yigit > > 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: Fer

[dpdk-dev] [PATCH v2 4/6] mk: prevent overlinking in applications

2016-06-10 Thread Thomas Monjalon
From: Ferruh Yigit 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 Signed-off-by: Thomas Monjalon --- v2: remove wor