numam-dpdk/examples
Anatoly Burakov 5d7b673d5f mk: build with _GNU_SOURCE defined by default
We use _GNU_SOURCE all over the place, but often times we miss
defining it, resulting in broken builds on musl. Rather than
fixing every library's and driver's and application's makefile,
fix it by simply defining _GNU_SOURCE by default for all
builds.

Remove all usages of _GNU_SOURCE in source files and makefiles,
and also fixup a couple of instances of using __USE_GNU instead
of _GNU_SOURCE.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
2018-10-22 11:28:27 +02:00
..
bbdev_app ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
bond ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
cmdline mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
distributor examples: fix RSS hash function configuration 2018-07-05 15:46:48 +02:00
ethtool mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
eventdev_pipeline examples/eventdev_pipeline: support Tx adapter 2018-10-01 16:52:47 +02:00
exception_path ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
flow_classify ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
flow_filtering net/i40e: config flow director automatically 2018-10-11 18:53:48 +02:00
helloworld build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
ip_fragmentation ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
ip_pipeline mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
ip_reassembly ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
ipsec-secgw examples/ipsec-secgw: fix wrong session size 2018-09-25 17:57:25 +02:00
ipv4_multicast ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
kni ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
l2fwd ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
l2fwd-cat mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
l2fwd-crypto ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
l2fwd-jobstats ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
l2fwd-keepalive ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
l3fwd ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
l3fwd-acl ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
l3fwd-power ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
l3fwd-vf ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
link_status_interrupt ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
load_balancer mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
multi_process examples/multi_process: add hotplug sample 2018-10-17 10:16:18 +02:00
netmap_compat ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
packet_ordering ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
performance-thread mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
ptpclient ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
qos_meter ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
qos_sched mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
quota_watermark ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
rxtx_callbacks ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
server_node_efd examples: make Linux environment check consistent 2018-07-12 09:48:12 +02:00
service_cores service: remove experimental tags 2018-04-25 14:57:37 +02:00
skeleton ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
tep_termination mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
timer build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
vdpa examples/vdpa: introduce a new sample for vDPA 2018-10-11 18:53:49 +02:00
vhost mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
vhost_crypto mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
vhost_scsi mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
vm_power_manager examples/vm_power: make branch ratio configurable 2018-07-21 00:00:43 +02:00
vmdq ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
vmdq_dcb examples: fix RSS hash function configuration 2018-07-05 15:46:48 +02:00
Makefile examples/vdpa: introduce a new sample for vDPA 2018-10-11 18:53:49 +02:00
meson.build mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00