Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Upstream-Status: Pending |
| 2 | Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> |
| 3 | |
| 4 | From 9ac096d8eccf2d56ece646320c282c8369f8337c Mon Sep 17 00:00:00 2001 |
| 5 | From: Cristian Iorga <cristian.iorga@intel.com> |
| 6 | Date: Tue, 29 Jul 2014 18:35:59 +0300 |
| 7 | Subject: [PATCH] configure: fix Darwin target detection |
| 8 | |
| 9 | fix Darwin target detection for qemu |
| 10 | cross-compilation. |
| 11 | |
| 12 | Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> |
| 13 | --- |
| 14 | configure | 2 ++ |
| 15 | 1 file changed, 2 insertions(+) |
| 16 | |
| 17 | diff --git a/configure b/configure |
| 18 | index 283c71c..1c66a11 100755 |
| 19 | --- a/configure |
| 20 | +++ b/configure |
| 21 | @@ -444,6 +444,8 @@ elif check_define __sun__ ; then |
| 22 | targetos='SunOS' |
| 23 | elif check_define __HAIKU__ ; then |
| 24 | targetos='Haiku' |
| 25 | +elif check_define __APPLE__ ; then |
| 26 | + targetos='Darwin' |
| 27 | else |
| 28 | targetos=`uname -s` |
| 29 | fi |
| 30 | -- |
| 31 | 1.9.1 |
| 32 | |