summaryrefslogtreecommitdiff
path: root/config/x86/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'config/x86/meson.build')
-rw-r--r--config/x86/meson.build3
1 files changed, 1 insertions, 2 deletions
diff --git a/config/x86/meson.build b/config/x86/meson.build
index 9e5952a..7504cb9 100644
--- a/config/x86/meson.build
+++ b/config/x86/meson.build
@@ -28,10 +28,9 @@ foreach f:base_flags
endforeach
dpdk_conf.set('RTE_ARCH_X86', 1)
-if (host_machine.cpu_family() == 'x86_64')
+if dpdk_conf.get('RTE_ARCH_64')
dpdk_conf.set('RTE_ARCH_X86_64', 1)
dpdk_conf.set('RTE_ARCH', 'x86_64')
- dpdk_conf.set('RTE_ARCH_64', 1)
else
dpdk_conf.set('RTE_ARCH_I686', 1)
dpdk_conf.set('RTE_ARCH', 'i686')