net/mlx5: avoid stripping the glue library
authorTimothy Redaelli <tredaelli@redhat.com>
Tue, 31 Jul 2018 13:15:28 +0000 (15:15 +0200)
committerShahaf Shuler <shahafs@mellanox.com>
Thu, 2 Aug 2018 10:34:17 +0000 (12:34 +0200)
Stripping binaries at build time is usually a bad thing since it makes
impossible to generate (split) debug symbols and this can lead to a more
difficult debugging.

Fixes: 59b91bec12c6 ("net/mlx5: spawn rdma-core dependency plug-in")
Cc: stable@dpdk.org
Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
Acked-by: Luca Boccassi <bluca@debian.org>
Acked-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
drivers/net/mlx5/Makefile

index 75bee46..2e70dec 100644 (file)
@@ -409,7 +409,7 @@ endif
 $(LIB_GLUE): mlx5_glue.o
        $Q $(LD) $(GLUE_LDFLAGS) $(EXTRA_LDFLAGS) \
                -Wl,-h,$(LIB_GLUE) \
-               -s -shared -o $@ $< -libverbs -lmlx5
+               -shared -o $@ $< -libverbs -lmlx5
 
 mlx5_glue.o: mlx5_autoconf.h