Commit 161294d88650e5ee3612b7d2a85d23d28a70a4c6

Authored by Juan Quintela
Committed by Anthony Liguori
1 parent fd9b9060

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>
Showing 1 changed file with 3 additions and 1 deletions
configure
... ... @@ -1738,8 +1738,10 @@ if test `expr &quot;$target_list&quot; : &quot;.*softmmu.*&quot;` != 0 ; then
1738 1738 fi
1739 1739 echo "TOOLS=$tools" >> $config_host_mak
1740 1740  
  1741 +# Mac OS X ships with a broken assembler
1741 1742 roms=
1742   -if test "$cpu" = "i386" -o "$cpu" = "x86_64" ; then
  1743 +if test \( "$cpu" = "i386" -o "$cpu" = "x86_64" \) -a \
  1744 + "$targetos" != "Darwin" ; then
1743 1745 roms="pc-bios/optionrom"
1744 1746 fi
1745 1747 echo "ROMS=$roms" >> $config_host_mak
... ...