From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MRnFB-0000tE-Fe for qemu-devel@nongnu.org; Fri, 17 Jul 2009 09:12:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MRnF6-0000qs-U8 for qemu-devel@nongnu.org; Fri, 17 Jul 2009 09:12:56 -0400 Received: from [199.232.76.173] (port=43342 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRnF6-0000qg-Hp for qemu-devel@nongnu.org; Fri, 17 Jul 2009 09:12:52 -0400 Received: from cantor2.suse.de ([195.135.220.15]:49778 helo=mx2.suse.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MRnF6-00071s-1U for qemu-devel@nongnu.org; Fri, 17 Jul 2009 09:12:52 -0400 Received: from relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 2B50E8640B for ; Fri, 17 Jul 2009 15:12:50 +0200 (CEST) From: Alexander Graf Date: Fri, 17 Jul 2009 15:12:48 +0200 Message-Id: <1247836368-21369-1-git-send-email-agraf@suse.de> Subject: [Qemu-devel] [PATCH] Don't build option roms on Mac OS X List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Mac OS X ships with a pretty broken assembler, so it can't build the multiboot option rom. Let's disable option rom compilation for Mac OS X. Signed-off-by: Alexander Graf --- configure | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/configure b/configure index edabe8d..efded55 100755 --- a/configure +++ b/configure @@ -204,6 +204,7 @@ sdl="yes" sdl_x11="no" xen="yes" pkgversion="" +broken_asm="" # OS specific if check_define __linux__ ; then @@ -289,6 +290,8 @@ cocoa="yes" audio_drv_list="coreaudio" audio_possible_drivers="coreaudio sdl fmod" OS_LDFLAGS="-framework CoreFoundation -framework IOKit" +# Mac OS X ships with an utterly broken assembler +broken_asm=yes ;; SunOS) solaris="yes" @@ -1827,6 +1830,12 @@ roms= if test "$cpu" = "i386" -o "$cpu" = "x86_64" ; then roms="pc-bios/optionrom" fi + +# Some systems (namely Mac OS X) have a broken assembler, so they +# can't build option roms. Disable them for those. +if test "$broken_asm" = "yes" ; then + roms= +fi echo "ROMS=$roms" >> $config_host_mak if test -f ${config_host_h}~ ; then -- 1.6.0.2