net/ice/base: add function to configure MIB
[dpdk.git] / drivers / meson.build
index 7520a16..dc47b45 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2017-2019 Intel Corporation
 
-if host_machine.system() == 'windows'
+if is_windows
        subdir_done()
 endif
 
@@ -21,9 +21,6 @@ if cc.has_argument('-Wno-format-truncation')
        default_cflags += '-Wno-format-truncation'
 endif
 
-# specify -D_GNU_SOURCE unconditionally
-default_cflags += '-D_GNU_SOURCE'
-
 foreach class:dpdk_driver_classes
        drivers = []
        std_deps = []