Skip to contentSkip to conversation

Suppress optionrom build on Solaris x86

PATCH New Andreas Faerber 1 participant 1 message Nov 27, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Suppress optionrom build on Solaris x86

To avoid the build failing with:

gcc -Wall -Wstrict-prototypes -Werror -fomit-frame-pointer -fno-builtin -I/export/home/andreas/QEMU/qemu -Wall -Wstrict-prototypes -Werror -fomit-frame-pointer -fno-builtin -I/export/home/andreas/QEMU/qemu -c -o multiboot.o multiboot.S
/var/tmp//ccd3aWyk.s: Assembler messages:
/var/tmp//ccd3aWyk.s:15: Error: value of 512 too large for field of 1 bytes at 0000000000000002 gmake[1]: *** [multiboot.o] Error 1

disable recursion into pc-bios/optionrom, as done for Darwin already.

---
 configure |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
configure +1 -1
index 1223fc8..0c3f252 100755
@@ -2103,7 +2103,7 @@ echo "TOOLS=$tools" >> $config_host_mak
 # Mac OS X ships with a broken assembler
 roms=
 if test \( "$cpu" = "i386" -o "$cpu" = "x86_64" \) -a \
-        "$targetos" != "Darwin" -a \
+        "$targetos" != "Darwin" -a "$targetos" != "SunOS" -a \
         `expr "$target_list" : ".*softmmu.*"` != 0 ; then
   roms="optionrom"
 fi
Signature · 1 line
1.5.5.3