[vorbis-dev] Patch for libogg on Darwin/Mac OS X
Timothy J. Wood
tjw at omnigroup.com
Sat Jan 27 19:54:10 PST 2001
Pretty basic. -fno-common is required to produce dynamic shared libraries on Darwin based systems.
-tim
Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/ogg/configure.in,v
retrieving revision 1.10
diff -u -r1.10 configure.in
--- configure.in 2001/01/22 22:49:45 1.10
+++ configure.in 2001/01/28 03:53:05
@@ -47,6 +47,11 @@
CFLAGS="-O20 -ffast-math -fsigned-char -mv8"
PROFILE="-pg -g -O20 -fsigned-char -mv8"
;;
+ *-*-darwin*)
+ DEBUG="-fno-common -g -Wall -fsigned-char"
+ 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"
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis-dev
mailing list