test: fix build with gcc 10
authorTimothy Redaelli <tredaelli@redhat.com>
Wed, 5 Feb 2020 12:50:42 +0000 (13:50 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 4 Mar 2020 09:11:07 +0000 (10:11 +0100)
commit53ba646a0a63c053974548cf03a7537538042b85
tree7b41e9e07b5d6dc6cc9ee9c78a0f6e715a18b852
parent983ab2b5d05c40a7b1a4da2200fd028e99796ee7
test: fix build with gcc 10

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: 08e0c7581468 ("test/fib: add performance autotests")
Cc: stable@dpdk.org
Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
Acked-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
app/test/test_fib_perf.c
app/test/test_lpm_perf.c