]> git.proxmox.com Git - mirror_qemu.git/commitdiff
Don't build option roms on Mac OS X
authorJuan Quintela <quintela@redhat.com>
Tue, 21 Jul 2009 12:11:22 +0000 (14:11 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 27 Jul 2009 19:10:55 +0000 (14:10 -0500)
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
configure

index c915ada2f3c419277eb0d8a88e7c2c668130dbd8..8fb74a11e78ddeef89ddf9fbdf234a5650f65f0f 100755 (executable)
--- 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