summaryrefslogtreecommitdiffstats
path: root/recipes-extended/dpdk/dpdk/0001-meson.build-march-and-mcpu-already-passed-by-Yocto-21.11.patch
blob: a74869de1bb2dab106104b9ce59c5187e337fcfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
From 9aeb0bedf63f0f8f132194705b63ed0045452354 Mon Sep 17 00:00:00 2001
From: Naveen Saini <naveen.kumar.saini@intel.com>
Date: Wed, 8 Dec 2021 11:48:27 +0800
Subject: [PATCH] meson.build:-march and -mcpu already passed by Yocto

Upstream-Status: Inappropriate

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
---
 config/meson.build | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/config/meson.build b/config/meson.build
index 805d5d51d0..620331a736 100644
--- a/config/meson.build
+++ b/config/meson.build
@@ -127,12 +127,12 @@ dpdk_conf.set('RTE_MACHINE', cpu_instruction_set)
 machine_args = []
 
 # ppc64 does not support -march= at all, use -mcpu and -mtune for that
-if host_machine.cpu_family().startswith('ppc')
-    machine_args += '-mcpu=' + cpu_instruction_set
-    machine_args += '-mtune=' + cpu_instruction_set
-else
-    machine_args += '-march=' + cpu_instruction_set
-endif
+#if host_machine.cpu_family().startswith('ppc')
+#    machine_args += '-mcpu=' + cpu_instruction_set
+#    machine_args += '-mtune=' + cpu_instruction_set
+#else
+#    machine_args += '-march=' + cpu_instruction_set
+#endif
 
 toolchain = cc.get_id()
 dpdk_conf.set_quoted('RTE_TOOLCHAIN', toolchain)
-- 
2.17.1