bus/dpaa: reduce thread ID syscall usage
[dpdk.git] / drivers / compress / mlx5 / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright 2021 Mellanox Technologies, Ltd
3
4 if not is_linux
5     build = false
6     reason = 'only supported on Linux'
7     subdir_done()
8 endif
9
10 fmt_name = 'mlx5_compress'
11 deps += ['common_mlx5', 'eal', 'compressdev']
12 sources = files(
13         'mlx5_compress.c',
14 )
15 cflags_options = [
16         '-std=c11',
17         '-Wno-strict-prototypes',
18         '-D_BSD_SOURCE',
19         '-D_DEFAULT_SOURCE',
20         '-D_XOPEN_SOURCE=600',
21 ]
22 foreach option:cflags_options
23     if cc.has_argument(option)
24         cflags += option
25     endif
26 endforeach