common/mlx5: enable compilation on Windows

Enable mlx5 common driver on Windows with clang compilation.

Signed-off-by: Ophir Munk <ophirmu@nvidia.com>
Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
This commit is contained in:
Ophir Munk 2021-01-12 14:58:39 +02:00 committed by Ferruh Yigit
parent 5a90a6e40d
commit 510893b3dc

View File

@ -1,9 +1,9 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2019 Mellanox Technologies, Ltd
if not is_linux
if not (is_linux or (is_windows and is_ms_linker))
build = false
reason = 'only supported on Linux'
reason = 'only supported on Linux and Windows build with clang'
subdir_done()
endif