net/mlx4: avoid stripping the glue library
authorTimothy Redaelli <tredaelli@redhat.com>
Tue, 31 Jul 2018 13:15:27 +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: 27cea11686ff ("net/mlx4: 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/mlx4/Makefile

index 63bc003..92e9322 100644 (file)
@@ -115,7 +115,7 @@ endif
 $(LIB_GLUE): mlx4_glue.o
        $Q $(LD) $(GLUE_LDFLAGS) $(EXTRA_LDFLAGS) \
                -Wl,-h,$(LIB_GLUE) \
-               -s -shared -o $@ $< -libverbs -lmlx4
+               -shared -o $@ $< -libverbs -lmlx4
 
 mlx4_glue.o: mlx4_autoconf.h