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