summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu/configure-fix-Darwin-target-detection.patch
blob: 59cdc1c3048a69e70af6bfd497b2c6a15b11f258 (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
Upstream-Status: Pending
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>

From 9ac096d8eccf2d56ece646320c282c8369f8337c Mon Sep 17 00:00:00 2001
From: Cristian Iorga <cristian.iorga@intel.com>
Date: Tue, 29 Jul 2014 18:35:59 +0300
Subject: [PATCH] configure: fix Darwin target detection

fix Darwin target detection for qemu
cross-compilation.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
---
 configure | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure b/configure
index 283c71c..1c66a11 100755
--- a/configure
+++ b/configure
@@ -444,6 +444,8 @@ elif check_define __sun__ ; then
   targetos='SunOS'
 elif check_define __HAIKU__ ; then
   targetos='Haiku'
+elif check_define __APPLE__ ; then
+  targetos='Darwin'
 else
   targetos=`uname -s`
 fi
-- 
1.9.1