Ticket #33862: patch-configure.diff

File patch-configure.diff, 729 bytes (added by khepler, 12 years ago)

updated configure patch for 1.1.1-1

  • configure

    old new  
    411411Darwin)
    412412  bsd="yes"
    413413  darwin="yes"
    414   # on Leopard most of the system is 32-bit, so we have to ask the kernel it if we can
    415   # run 64-bit userspace code
    416   if [ "$cpu" = "i386" ] ; then
    417     is_x86_64=`sysctl -n hw.optional.x86_64`
    418     [ "$is_x86_64" = "1" ] && cpu=x86_64
    419   fi
    420   if [ "$cpu" = "x86_64" ] ; then
    421     QEMU_CFLAGS="-arch x86_64 $QEMU_CFLAGS"
    422     LDFLAGS="-arch x86_64 $LDFLAGS"
    423   else
    424     QEMU_CFLAGS="-mdynamic-no-pic $QEMU_CFLAGS"
    425   fi
     414  QEMU_CFLAGS="-mdynamic-no-pic $QEMU_CFLAGS"
    426415  cocoa="yes"
    427416  audio_drv_list="coreaudio"
    428417  audio_possible_drivers="coreaudio sdl fmod"