From 526ca5c6cca063c712942dc9d6bc33c3966a64a8 Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Tue, 3 Jul 2018 11:31:14 +0100 Subject: [PATCH] net/sfc: disable for 32-bit builds The sfc driver is not supported on 32-bit so disable in meson in those cases. Signed-off-by: Bruce Richardson Acked-by: Andrew Rybchenko Acked-by: Hemant Agrawal --- drivers/net/sfc/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/sfc/meson.build b/drivers/net/sfc/meson.build index 3aa14c7bde..2d34e869d8 100644 --- a/drivers/net/sfc/meson.build +++ b/drivers/net/sfc/meson.build @@ -6,7 +6,7 @@ # This software was jointly developed between OKTET Labs (under contract # for Solarflare) and Solarflare Communications, Inc. -if arch_subdir != 'x86' +if arch_subdir != 'x86' or cc.sizeof('void *') == 4 build = false endif -- 2.20.1