1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright 2019 Mellanox Technologies, Ltd
4 if not (is_linux or is_windows)
6 reason = 'only supported on Linux and Windows'
10 allow_experimental_apis = true
12 deps += ['hash', 'pci', 'net', 'eal', 'kvargs']
22 '-Wno-strict-prototypes',
27 foreach option:cflags_options
28 if cc.has_argument(option)
32 if get_option('buildtype').contains('debug')
33 cflags += [ '-pedantic', '-DPEDANTIC' ]
35 cflags += [ '-UPEDANTIC' ]