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

Shahaf Shuler shahafs at mellanox.com
Sun Apr 1 09:39:28 CEST 2018


Thursday, March 29, 2018 11:54 PM, Yongseok Koh:
> 
> > On Mar 29, 2018, at 6:36 AM, Bruce Richardson
> <bruce.richardson at intel.com> 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 compilation: '-e xport-
> dynamic'
> >
> > Fix this by checking for $LINK_USING_CC in the Makefiles and prefixing
> > the LDFLAGS appropriately if set.
> >
> > Fixes: 27cea11686ff ("net/mlx4: spawn rdma-core dependency plug-in")
> > Fixes: 59b91bec12c6 ("net/mlx5: spawn rdma-core dependency plug-in")
> >
> > Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> > ---
> Acked-by: Yongseok Koh <yskoh at mellanox.com>

Applied to next-net-mlx, thanks. 

> 
> Thanks


More information about the dev mailing list