[Flac-dev] success compiling and running under IRIX

Matt Zimmerman mdz at debian.org
Sun Jan 13 17:54:02 PST 2002


On Sun, Jan 13, 2002 at 08:14:42PM -0500, Martin Blais wrote:

> 2) you should consider making the "-Wall" options in the configure.in file 
> conditional to using gcc. i had to remove those by hand to be able use 
> MipsPro.

If there are no objections, I'll commit this (trivial) fix to CVS.

-- 
 - mdz
-------------- next part --------------
Index: configure.in
===================================================================
RCS file: /cvsroot/flac/flac/configure.in,v
retrieving revision 1.34
diff -u -r1.34 configure.in
--- configure.in	2001/12/04 06:46:35	1.34
+++ configure.in	2002/01/14 01:51:30
@@ -156,13 +156,13 @@
 AC_SUBST(FLaC__USIZE64)
 
 SAVE_CFLAGS="$CFLAGS"
-CFLAGS='-I$(top_builddir) -I$(srcdir)/include -I $(top_srcdir)/include -Wall -W'
+CFLAGS='-I$(top_builddir) -I$(srcdir)/include -I $(top_srcdir)/include -I$(top_builddir)/include/FLAC'
 if test x$debug = xtrue; then
 	CFLAGS="$CFLAGS -g -O0 -DDEBUG"
 else
 	CFLAGS="$CFLAGS -O3 -DNDEBUG"
 	if test x$GCC = xyes; then
-		CFLAGS="$CFLAGS -fomit-frame-pointer -funroll-loops -finline-functions -Winline -DFLaC__INLINE=__inline__"
+		CFLAGS="$CFLAGS -fomit-frame-pointer -funroll-loops -finline-functions -Wall -W -Winline -DFLaC__INLINE=__inline__"
 	fi
 fi
 CFLAGS="$CFLAGS $SAVE_CFLAGS"


More information about the Flac-dev mailing list