xref: /dpdk/drivers/net/vdev_netvsc/meson.build (revision 42f4d724)
1# SPDX-License-Identifier: BSD-3-Clause
2# Copyright(c) 2018 Luca Boccassi <[email protected]>
3
4sources = files('vdev_netvsc.c')
5
6allow_experimental_apis = true
7
8cflags_options = [
9        '-Wall',
10        '-Wextra',
11        '-D_BSD_SOURCE',
12        '-D_DEFAULT_SOURCE',
13        '-D_XOPEN_SOURCE=600'
14]
15foreach option:cflags_options
16        if cc.has_argument(option)
17                cflags += option
18        endif
19endforeach
20