examples/vhost_blk: fix build with gcc 10
authorTimothy Redaelli <tredaelli@redhat.com>
Wed, 5 Feb 2020 13:47:03 +0000 (14:47 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 4 Mar 2020 09:24:42 +0000 (10:24 +0100)
GCC 10 defaults to -fno-common, this means a linker error will now be
reported if the same global variable is defined in more than one
compilation unit.

Fixes: c19beb3f38cd ("examples/vhost_blk: introduce vhost storage sample")
Cc: stable@dpdk.org
Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: David Marchand <david.marchand@redhat.com>

No differences found