From 161294d88650e5ee3612b7d2a85d23d28a70a4c6 Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Tue, 21 Jul 2009 14:11:22 +0200 Subject: [PATCH] Don't build option roms on Mac OS X Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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