libogg-1.1.patch
上传用户:kjfoods
上传日期:2020-07-06
资源大小:29949k
文件大小:2k
源码类别:

midi

开发平台:

Unix_Linux

  1. --- libogg/configure.in 2009-07-08 18:56:26.000000000 +0200
  2. +++ libogg.new/configure.in 2009-07-08 18:55:50.000000000 +0200
  3. @@ -28,17 +28,17 @@
  4.          case $host in 
  5.          *-*-irix*)
  6.                  DEBUG="-g -signed" 
  7. -                CFLAGS="-O2 -w -signed"
  8. +                EXTRA_CFLAGS="-O2 -w -signed"
  9.                  PROFILE="-p -g3 -O2 -signed"
  10.   ;;
  11.          sparc-sun-solaris*)
  12.                  DEBUG="-v -g"
  13. -                CFLAGS="-xO4 -fast -w -fsimple -native -xcg92"
  14. +                EXTRA_CFLAGS="-xO4 -fast -w -fsimple -native -xcg92"
  15.                  PROFILE="-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc"
  16.   ;;
  17.          *)
  18.                  DEBUG="-g"
  19. -                CFLAGS="-O"
  20. +                EXTRA_CFLAGS="-O"
  21.                  PROFILE="-g -p" 
  22.   ;;
  23.          esac
  24. @@ -46,36 +46,36 @@
  25.          case $host in 
  26.          *-*-linux*)
  27.                  DEBUG="-g -Wall -fsigned-char"
  28. -                CFLAGS="-O20 -ffast-math -fsigned-char"
  29. +                EXTRA_CFLAGS="-O20 -ffast-math -fsigned-char"
  30.                  PROFILE="-Wall -W -pg -g -O20 -ffast-math -fsigned-char"
  31.   ;;
  32.          sparc-sun-*)
  33.                  sparc_cpu=""
  34.                  AC_MSG_CHECKING([if gcc supports -mv8])
  35. -                old_cflags="$CFLAGS"
  36. -                CFLAGS="$CFLAGS -mv8"
  37. +                old_EXTRA_CFLAGS="$CFLAGS"
  38. +                EXTRA_CFLAGS="$CFLAGS -mv8"
  39.                  AC_TRY_COMPILE(, [return 0;], [
  40.                          AC_MSG_RESULT([yes])
  41.                          sparc_cpu="-mv8"
  42.                  ])
  43. -                CFLAGS="$old_cflags"
  44. +                EXTRA_CFLAGS="$old_cflags"
  45.                  DEBUG="-g -Wall -fsigned-char $sparc_cpu"
  46. -                CFLAGS="-O20 -ffast-math -fsigned-char $sparc_cpu"
  47. +                EXTRA_CFLAGS="-O20 -ffast-math -fsigned-char $sparc_cpu"
  48.                  PROFILE="-pg -g -O20 -fsigned-char $sparc_cpu" 
  49.   ;;
  50.   *-*-darwin*)
  51.   DEBUG="-fno-common -g -Wall -fsigned-char"
  52. - CFLAGS="-fno-common -O4 -Wall -fsigned-char -ffast-math"
  53. + EXTRA_CFLAGS="-fno-common -O4 -Wall -fsigned-char -ffast-math"
  54.   PROFILE="-fno-common -O4 -Wall -pg -g -fsigned-char -ffast-math"
  55.   ;;
  56.          *)
  57.                  DEBUG="-g -Wall -fsigned-char"
  58. -                CFLAGS="-O20 -fsigned-char"
  59. +                EXTRA_CFLAGS="-O20 -fsigned-char"
  60.                  PROFILE="-O20 -g -pg -fsigned-char" 
  61.   ;;
  62.          esac
  63.  fi
  64. -CFLAGS="$CFLAGS $cflags_save"
  65. +CFLAGS="$EXTRA_CFLAGS $cflags_save"
  66.  DEBUG="$DEBUG $cflags_save"
  67.  PROFILE="$PROFILE $cflags_save"
  68.