aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-07-21 14:11:22 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-27 14:10:55 -0500
commit161294d88650e5ee3612b7d2a85d23d28a70a4c6 (patch)
tree87234de4ebf33ea1bc9c34fa23482dd39f80ae3f /configure
parentfd9b906050b348178c75beb162dac869906792c3 (diff)
Don't build option roms on Mac OS X
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index c915ada2f3..8fb74a11e7 100755
--- a/configure
+++ b/configure
@@ -1738,8 +1738,10 @@ if test `expr "$target_list" : ".*softmmu.*"` != 0 ; then
fi
echo "TOOLS=$tools" >> $config_host_mak
+# Mac OS X ships with a broken assembler
roms=
-if test "$cpu" = "i386" -o "$cpu" = "x86_64" ; then
+if test \( "$cpu" = "i386" -o "$cpu" = "x86_64" \) -a \
+ "$targetos" != "Darwin" ; then
roms="pc-bios/optionrom"
fi
echo "ROMS=$roms" >> $config_host_mak