examples/l2fwd-cat: fix external build
Checks
Commit Message
From: David Marchand <david.marchand@redhat.com>
cpu_set_t definition requires _GNU_SOURCE.
Fixes: e0473c6d5b18 ("eal: fix build with musl")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
---
This patch was missing in the patchset to make all examples compile.
It will be merged with others from:
"Test examples compilation externally"
---
examples/l2fwd-cat/Makefile | 1 +
1 file changed, 1 insertion(+)
Comments
22/06/2023 15:48, Thomas Monjalon:
> From: David Marchand <david.marchand@redhat.com>
>
> cpu_set_t definition requires _GNU_SOURCE.
>
> Fixes: e0473c6d5b18 ("eal: fix build with musl")
> Cc: stable@dpdk.org
>
> Signed-off-by: David Marchand <david.marchand@redhat.com>
> ---
> This patch was missing in the patchset to make all examples compile.
> It will be merged with others from:
> "Test examples compilation externally"
Tested-by: Thomas Monjalon <thomas@monjalon.net>
and applied.
@@ -35,6 +35,7 @@ endif
endif
CFLAGS += -DALLOW_EXPERIMENTAL_API
+CFLAGS += -D_GNU_SOURCE
LDFLAGS += -lpqos