Skip to content

Commit

Permalink
examples/l2fwd-cat: fix external build
Browse files Browse the repository at this point in the history
[ upstream commit 006e18a83a7f9d50dd24c7931cac1c82e7379c48 ]

cpu_set_t definition requires _GNU_SOURCE.

Fixes: e0473c6 ("eal: fix build with musl")

Signed-off-by: David Marchand <david.marchand@redhat.com>
Tested-by: Thomas Monjalon <thomas@monjalon.net>
  • Loading branch information
david-marchand authored and kevintraynor committed Jul 12, 2023
1 parent 648321a commit 47a25c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/l2fwd-cat/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ endif
endif

CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -D_GNU_SOURCE

LDFLAGS += -lpqos

Expand Down

0 comments on commit 47a25c8

Please sign in to comment.