From dc7d3f2b23ea4cb0fa197ddbca261555997fc46a Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Tue, 3 Jul 2018 11:31:12 +0100 Subject: [PATCH] kni: disable for 32-bit meson builds The kni library is not supported on 32-bit so disable it for those builds using meson. Signed-off-by: Bruce Richardson Acked-by: Ferruh Yigit Acked-by: Hemant Agrawal --- lib/librte_kni/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_kni/meson.build b/lib/librte_kni/meson.build index c4b21961c7..a738a033ac 100644 --- a/lib/librte_kni/meson.build +++ b/lib/librte_kni/meson.build @@ -1,7 +1,7 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Intel Corporation -if host_machine.system() != 'linux' +if host_machine.system() != 'linux' or cc.sizeof('void *') == 4 build = false endif version = 2 -- 2.20.1