5d7b673d5f
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>
16 lines
462 B
Meson
16 lines
462 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2017 Intel Corporation
|
|
|
|
# meson file, for building this example as part of a main DPDK build.
|
|
#
|
|
# To build this example as a standalone application with an already-installed
|
|
# DPDK instance, use 'make'
|
|
|
|
pqos = cc.find_library('pqos', required: false)
|
|
build = pqos.found()
|
|
ext_deps += pqos
|
|
cflags += '-I/usr/local/include' # assume pqos lib installed in /usr/local
|
|
sources = files(
|
|
'cat.c', 'l2fwd-cat.c'
|
|
)
|