Re: [dpdk-dev] [PATCH] mlx: fix warnings for unused compiler arguments

2018-04-01 Thread Shahaf Shuler
Thursday, March 29, 2018 11:54 PM, Yongseok Koh: > > > On Mar 29, 2018, at 6:36 AM, Bruce Richardson > wrote: > > > > When linking the mlx glue code libraries using CC, the linker > > arguments in LDFLAGS are not prefixed with -Wl. [The EXTRA_LDFLAGS are > > though.] This leads to warning message

Re: [dpdk-dev] [PATCH] mlx: fix warnings for unused compiler arguments

2018-03-29 Thread Yongseok Koh
> On Mar 29, 2018, at 6:36 AM, Bruce Richardson > wrote: > > When linking the mlx glue code libraries using CC, the linker arguments in > LDFLAGS are not prefixed with -Wl. [The EXTRA_LDFLAGS are though.] This > leads to warning messages on build: > > clang-5.0: warning: argument unused during

[dpdk-dev] [PATCH] mlx: fix warnings for unused compiler arguments

2018-03-29 Thread Bruce Richardson
When linking the mlx glue code libraries using CC, the linker arguments in LDFLAGS are not prefixed with -Wl. [The EXTRA_LDFLAGS are though.] This leads to warning messages on build: clang-5.0: warning: argument unused during compilation: '-e xport-dynamic' Fix this by checking for $LINK_USING_CC