git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc7d3f2
)
bpf: fix 32-bit build support with meson
author
Bruce Richardson
<bruce.richardson@intel.com>
Tue, 3 Jul 2018 10:31:13 +0000
(11:31 +0100)
committer
Thomas Monjalon
<thomas@monjalon.net>
Thu, 12 Jul 2018 10:24:25 +0000
(12:24 +0200)
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 <bruce.richardson@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
lib/librte_bpf/meson.build
patch
|
blob
|
history
diff --git
a/lib/librte_bpf/meson.build
b/lib/librte_bpf/meson.build
index
de9de00
..
bc0cd78
100644
(file)
--- 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