Re: [dpdk-dev] [PATCH v2] mk: use extra cflags when linking libs with a compiler

2017-07-31 Thread Thomas Monjalon
31/07/2017 23:49, Gage Eads: > When using the compiler to link libraries, include EXTRA_CFLAGS. This is > needed when cross-compiling to pass --sysroot, for example. GCC > cross-compilers built with Yocto don't use the --with-sysroot option, > making it necessary to pass the --sysroot command-line

[dpdk-dev] [PATCH v2] mk: use extra cflags when linking libs with a compiler

2017-07-31 Thread Gage Eads
When using the compiler to link libraries, include EXTRA_CFLAGS. This is needed when cross-compiling to pass --sysroot, for example. GCC cross-compilers built with Yocto don't use the --with-sysroot option, making it necessary to pass the --sysroot command-line option. This is the same solution as