Skip to contentSkip to conversation

corrected fpu/softfloat-native.h patch

Qemu-devel Ben Taylor 1 participant 1 message Apr 27, 2006

lore
Share & tools
lore

Ben Taylor

author
#0 lore raw

Here is a corrected version of the patch. Fixed an else missing a #, and changed the logic to do some defines for Solaris 8/9 as it doesn't seem to like doing an #if defined(X) && (X <=Y)

patch works on Solaris 9 and 10.

configure +1 -6
diff -ruN qemu/configure qemu-2/configure
@@ -148,9 +148,6 @@
     make="gmake"
     install="ginstall"
     solarisrev=`uname -r | cut -f2 -d.`
-    if test $solarisrev -lt 10 ; then
-      presolaris10="yes"
-    fi
 fi
 
 # find source path
@@ -640,9 +637,7 @@
 fi
 if test "$solaris" = "yes" ; then
   echo "CONFIG_SOLARIS=yes" >> $config_mak
-  if test "$presolaris10" = "yes" ; then
-    echo "#define _PRESOLARIS10 1" >> $config_h
-  fi
+    echo "#define SOLARISREV $solarisrev" >> $config_h
 fi
 if test "$gdbstub" = "yes" ; then
   echo "CONFIG_GDBSTUB=yes" >> $config_mak
fpu/softfloat-native.h +52 -2

64 lines not on this page · raw message