Re: [dpdk-dev] [PATCH] mk: add EXTRA_CFLAGS to link step for shared library

2019-11-25 Thread Stephen Hemminger
On Mon, 25 Nov 2019 23:56:00 +0100 Thomas Monjalon wrote: > 05/11/2019 02:56, Stephen Hemminger: > > When doing a cross compiling it is common to use EXTRA_CFLAGS with > > --sysroot option to point to alternate root filesystem. This already > > works as expected for objects and executables, it ju

Re: [dpdk-dev] [PATCH] mk: add EXTRA_CFLAGS to link step for shared library

2019-11-25 Thread Thomas Monjalon
05/11/2019 02:56, Stephen Hemminger: > When doing a cross compiling it is common to use EXTRA_CFLAGS with > --sysroot option to point to alternate root filesystem. This already > works as expected for objects and executables, it just doesn't work > correctly for shared libraries. > > When a shared

[dpdk-dev] [PATCH] mk: add EXTRA_CFLAGS to link step for shared library

2019-11-04 Thread Stephen Hemminger
When doing a cross compiling it is common to use EXTRA_CFLAGS with --sysroot option to point to alternate root filesystem. This already works as expected for objects and executables, it just doesn't work correctly for shared libraries. When a shared library is linked using CC this flag needs to be