void-packages/srcpkgs/dpdk/patches/arm.patch
Nathan Owens ecdd71e339 dpdk: umark broken on armv7 and explicitly set archs and machine
Signed-off-by: Nathan Owens <ndowens04@gmail.com>
2019-12-18 13:34:36 +01:00

17 lines
532 B
Diff

diff --git config/meson.build config/meson.build
index 2bafea5..6b15f13 100644
--- config/meson.build
+++ config/meson.build
@@ -50,11 +50,7 @@ meson.add_install_script('../buildtools/symlink-drivers-solibs.sh',
pmd_subdir_opt)
# set the machine type and cflags for it
-if meson.is_cross_build()
- machine = host_machine.cpu()
-else
- machine = get_option('machine')
-endif
+machine = get_option('machine')
# machine type 'default' is special, it defaults to the per arch agreed common
# minimal baseline needed for DPDK.