summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/0001-Also-check-i586-for-ia32.patch
blob: 892b25e0aaf5445139f1ef28b16adc2265e65a73 (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
From 4616e6f228d2678420ee7d5bb1c8a0c8ebb27be8 Mon Sep 17 00:00:00 2001
From: Chen Qi <Qi.Chen@windriver.com>
Date: Tue, 27 Feb 2018 20:42:41 -0800
Subject: [PATCH] Also check i586 for ia32

Upstream-Status: Pending

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index ddc061c12..abd1261d6 100644
--- a/meson.build
+++ b/meson.build
@@ -1182,7 +1182,7 @@ conf.set10('SYSTEMD_SLOW_TESTS_DEFAULT', get_option('slow-tests'))
 if get_option('efi')
         efi_arch = host_machine.cpu_family()
 
-        if efi_arch == 'x86'
+        if efi_arch == 'x86' or efi_arch == 'i586'
                 EFI_MACHINE_TYPE_NAME = 'ia32'
                 gnu_efi_arch = 'ia32'
         elif efi_arch == 'x86_64'
-- 
2.13.0