libogg-1.1.patch
资源名称:vlc-1.0.5.zip [点击查看]
上传用户:kjfoods
上传日期:2020-07-06
资源大小:29949k
文件大小:2k
源码类别:
midi
开发平台:
Unix_Linux
- --- libogg/configure.in 2009-07-08 18:56:26.000000000 +0200
- +++ libogg.new/configure.in 2009-07-08 18:55:50.000000000 +0200
- @@ -28,17 +28,17 @@
- case $host in
- *-*-irix*)
- DEBUG="-g -signed"
- - CFLAGS="-O2 -w -signed"
- + EXTRA_CFLAGS="-O2 -w -signed"
- PROFILE="-p -g3 -O2 -signed"
- ;;
- sparc-sun-solaris*)
- DEBUG="-v -g"
- - CFLAGS="-xO4 -fast -w -fsimple -native -xcg92"
- + EXTRA_CFLAGS="-xO4 -fast -w -fsimple -native -xcg92"
- PROFILE="-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc"
- ;;
- *)
- DEBUG="-g"
- - CFLAGS="-O"
- + EXTRA_CFLAGS="-O"
- PROFILE="-g -p"
- ;;
- esac
- @@ -46,36 +46,36 @@
- case $host in
- *-*-linux*)
- DEBUG="-g -Wall -fsigned-char"
- - CFLAGS="-O20 -ffast-math -fsigned-char"
- + EXTRA_CFLAGS="-O20 -ffast-math -fsigned-char"
- PROFILE="-Wall -W -pg -g -O20 -ffast-math -fsigned-char"
- ;;
- sparc-sun-*)
- sparc_cpu=""
- AC_MSG_CHECKING([if gcc supports -mv8])
- - old_cflags="$CFLAGS"
- - CFLAGS="$CFLAGS -mv8"
- + old_EXTRA_CFLAGS="$CFLAGS"
- + EXTRA_CFLAGS="$CFLAGS -mv8"
- AC_TRY_COMPILE(, [return 0;], [
- AC_MSG_RESULT([yes])
- sparc_cpu="-mv8"
- ])
- - CFLAGS="$old_cflags"
- + EXTRA_CFLAGS="$old_cflags"
- DEBUG="-g -Wall -fsigned-char $sparc_cpu"
- - CFLAGS="-O20 -ffast-math -fsigned-char $sparc_cpu"
- + EXTRA_CFLAGS="-O20 -ffast-math -fsigned-char $sparc_cpu"
- PROFILE="-pg -g -O20 -fsigned-char $sparc_cpu"
- ;;
- *-*-darwin*)
- DEBUG="-fno-common -g -Wall -fsigned-char"
- - CFLAGS="-fno-common -O4 -Wall -fsigned-char -ffast-math"
- + EXTRA_CFLAGS="-fno-common -O4 -Wall -fsigned-char -ffast-math"
- PROFILE="-fno-common -O4 -Wall -pg -g -fsigned-char -ffast-math"
- ;;
- *)
- DEBUG="-g -Wall -fsigned-char"
- - CFLAGS="-O20 -fsigned-char"
- + EXTRA_CFLAGS="-O20 -fsigned-char"
- PROFILE="-O20 -g -pg -fsigned-char"
- ;;
- esac
- fi
- -CFLAGS="$CFLAGS $cflags_save"
- +CFLAGS="$EXTRA_CFLAGS $cflags_save"
- DEBUG="$DEBUG $cflags_save"
- PROFILE="$PROFILE $cflags_save"