From: Bruce Richardson Date: Tue, 3 Jul 2018 10:31:13 +0000 (+0100) Subject: bpf: fix 32-bit build support with meson X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=c23c66b31baf6e7937fe099a6f9e691182e8cafa;p=dpdk.git bpf: fix 32-bit build support with meson The JIT is only supported on x86_64 so disable for 32-bit builds. Fixes: cc752e43e079 ("bpf: add JIT compilation for x86_64 ISA") Signed-off-by: Bruce Richardson Acked-by: Konstantin Ananyev Acked-by: Hemant Agrawal --- diff --git a/lib/librte_bpf/meson.build b/lib/librte_bpf/meson.build index de9de0091a..bc0cd78f90 100644 --- a/lib/librte_bpf/meson.build +++ b/lib/librte_bpf/meson.build @@ -8,7 +8,7 @@ sources = files('bpf.c', 'bpf_pkt.c', 'bpf_validate.c') -if arch_subdir == 'x86' +if arch_subdir == 'x86' and cc.sizeof('void *') == 8 sources += files('bpf_jit_x86.c') endif