X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Fpower%2Fmeson.build;h=ba8d66074beba754c9ddaa78d7b2b4ea685e64c7;hb=1fd3de64ff47f8865f9cbd13bb8f20611beb3cfa;hp=36e5a65874c40424f72789ca0f9709b8e9a4ceb2;hpb=ef1cc88f183702f523bf2701e1d3984a31b08ab4;p=dpdk.git diff --git a/lib/power/meson.build b/lib/power/meson.build index 36e5a65874..ba8d66074b 100644 --- a/lib/power/meson.build +++ b/lib/power/meson.build @@ -1,6 +1,12 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Intel Corporation +if is_windows + build = false + reason = 'not supported on Windows' + subdir_done() +endif + if not is_linux build = false reason = 'only supported on Linux' @@ -22,4 +28,7 @@ headers = files( 'rte_power_pmd_mgmt.h', 'rte_power_guest_channel.h', ) +if cc.has_argument('-Wno-cast-qual') + cflags += '-Wno-cast-qual' +endif deps += ['timer', 'ethdev']