Skip to content

Commit

Permalink
app/pipeline: fix build with gcc 10
Browse files Browse the repository at this point in the history
[ upstream commit 20c1854 ]

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: 48f31ca ("app/pipeline: packet framework benchmark")

Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
  • Loading branch information
drizzt authored and kevintraynor committed May 27, 2020
1 parent b80cf96 commit 101855e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/test-pipeline/config.c
Expand Up @@ -42,8 +42,6 @@

#include "main.h"

struct app_params app;

static const char usage[] = "\n";

void
Expand Down

0 comments on commit 101855e

Please sign in to comment.