app/pipeline: fix build with gcc 10
authorTimothy Redaelli <tredaelli@redhat.com>
Wed, 5 Feb 2020 14:12:20 +0000 (15:12 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 4 Mar 2020 09:19:02 +0000 (10:19 +0100)
commit20c1854f079e0a09f9c0383ccd896aafe6f41b0a
tree20ceba3720b123a19646ade7f0a983159b439a0b
parent53ba646a0a63c053974548cf03a7537538042b85
app/pipeline: 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: 48f31ca50cc4 ("app/pipeline: packet framework benchmark")
Cc: stable@dpdk.org
Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
app/test-pipeline/config.c