patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas@monjalon.net>
To: dev@dpdk.org
Cc: David Marchand <david.marchand@redhat.com>,
	stable@dpdk.org, Tomasz Kantecki <tomasz.kantecki@intel.com>,
	Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>,
	Natanael Copa <ncopa@alpinelinux.org>
Subject: [PATCH] examples/l2fwd-cat: fix external build
Date: Thu, 22 Jun 2023 15:48:55 +0200	[thread overview]
Message-ID: <20230622135021.831889-1-thomas@monjalon.net> (raw)
In-Reply-To: <20230620140704.171667-1-david.marchand@redhat.com>

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(+)

diff --git a/examples/l2fwd-cat/Makefile b/examples/l2fwd-cat/Makefile
index 23a09550a4..d06053451a 100644
--- a/examples/l2fwd-cat/Makefile
+++ b/examples/l2fwd-cat/Makefile
@@ -35,6 +35,7 @@ endif
 endif
 
 CFLAGS += -DALLOW_EXPERIMENTAL_API
+CFLAGS += -D_GNU_SOURCE
 
 LDFLAGS += -lpqos
 
-- 
2.41.0


  parent reply	other threads:[~2023-06-22 13:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20230613081741.4083273-1-david.marchand@redhat.com>
2023-06-13  8:17 ` [PATCH 1/4] examples/fips_validation: " David Marchand
2023-06-13 15:05   ` [EXT] " Gowrishankar Muthukrishnan
     [not found] ` <20230613140635.975187-1-david.marchand@redhat.com>
2023-06-13 14:06   ` [PATCH v2 " David Marchand
     [not found] ` <20230620140704.171667-1-david.marchand@redhat.com>
2023-06-20 14:07   ` [PATCH v3 " David Marchand
2023-06-21  6:23     ` David Marchand
2023-06-22 13:48   ` Thomas Monjalon [this message]
2023-06-22 13:55     ` [PATCH] examples/l2fwd-cat: " Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230622135021.831889-1-thomas@monjalon.net \
    --to=thomas@monjalon.net \
    --cc=andrew.rybchenko@oktetlabs.ru \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=ncopa@alpinelinux.org \
    --cc=stable@dpdk.org \
    --cc=tomasz.kantecki@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).