[xiph-commits] r14998 - trunk/vorbis
erikd at svn.xiph.org
erikd at svn.xiph.org
Wed Jun 4 13:43:48 PDT 2008
Author: erikd
Date: 2008-06-04 13:43:46 -0700 (Wed, 04 Jun 2008)
New Revision: 14998
Modified:
trunk/vorbis/configure.ac
Log:
configure.ac : add specific options for OS/2.
Modified: trunk/vorbis/configure.ac
===================================================================
--- trunk/vorbis/configure.ac 2008-06-04 03:27:18 UTC (rev 14997)
+++ trunk/vorbis/configure.ac 2008-06-04 20:43:46 UTC (rev 14998)
@@ -173,7 +173,12 @@
DEBUG="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O0 -fsigned-char"
CFLAGS="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O4 -ffast-math -fsigned-char"
PROFILE="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -pg -O4 -ffast-math -fsigned-char";;
- *)
+ *-*-os2*)
+ # Use -W instead of -Wextra because gcc on OS/2 is an old version.
+ DEBUG="-g -Wall -W -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
+ CFLAGS="-O20 -Wall -W -ffast-math -D_REENTRANT -fsigned-char"
+ PROFILE="-pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char";;
+ *)
DEBUG="-g -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char"
CFLAGS="-O20 -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char"
PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
More information about the commits
mailing list