1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright 2019 Mellanox Technologies, Ltd
6 reason = 'only supported on Linux'
10 deps += ['hash', 'common_mlx5', 'vhost', 'pci', 'eal', 'sched']
21 '-Wno-strict-prototypes',
24 '-D_XOPEN_SOURCE=600',
26 foreach option:cflags_options
27 if cc.has_argument(option)
32 if get_option('buildtype').contains('debug')
33 cflags += [ '-pedantic', '-DPEDANTIC' ]
35 cflags += [ '-UPEDANTIC' ]