git.droids-corp.org
/
dpdk.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
49d3a2c7bbf785d5e20870d36a0aec374d025d42
[dpdk.git]
/
meson.build
1
# SPDX-License-Identifier: BSD-3-Clause
2
# Copyright(c) 2018 Luca Boccassi <bluca@debian.org>
3
4
if not is_linux
5
build = false
6
reason = 'only supported on Linux'
7
endif
8
sources = files('vdev_netvsc.c')
9
10
cflags_options = [
11
'-D_BSD_SOURCE',
12
'-D_DEFAULT_SOURCE',
13
'-D_XOPEN_SOURCE=600'
14
]
15
foreach option:cflags_options
16
if cc.has_argument(option)
17
cflags += option
18
endif
19
endforeach