Commit 32e85a74 authored by Josh Coalson's avatar Josh Coalson
Browse files

compile fixes based on patch (SF#913238...

compile fixes based on patch (SF#913238 http://sourceforge.net/tracker/index.php?func=detail&aid=913238&group_id=13478&atid=113478
parent 6d31c1a1
......@@ -266,9 +266,9 @@ OUR_CFLAGS_HEAD='-I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include'
if test "x$debug" = xtrue; then
OUR_CFLAGS_HEAD="$OUR_CFLAGS_HEAD -g -DDEBUG"
else
OUR_CFLAGS_HEAD="$OUR_CFLAGS_HEAD -O2 -DNDEBUG"
OUR_CFLAGS_HEAD="$OUR_CFLAGS_HEAD -DNDEBUG"
if test "x$GCC" = xyes; then
OUR_CFLAGS_HEAD="$OUR_CFLAGS_HEAD -O3 -fomit-frame-pointer -funroll-loops -finline-functions -Wall -W -Winline -DFLaC__INLINE=__inline__"
OUR_CFLAGS_HEAD="$OUR_CFLAGS_HEAD -O3 -funroll-loops -finline-functions -Wall -W -Winline -DFLaC__INLINE=__inline__"
fi
fi
CFLAGS="$OUR_CFLAGS_HEAD $CFLAGS"
......
......@@ -29,7 +29,7 @@ AC_ARG_ENABLE(libFLACPPtest, [ --disable-libFLACPPtest Do not try to comp
elif test "x$libFLACPP_prefix" != "x" ; then
LIBFLACPP_CFLAGS="-I$libFLACPP_prefix/include"
elif test "$prefix" != "xNONE"; then
LIBFLACPP_CFLAGS="-I$prefix/include"
LIBFLACPP_CFLAGS=""
fi
LIBFLACPP_CFLAGS="$LIBFLACPP_CFLAGS $LIBFLAC_CFLAGS"
......
......@@ -28,7 +28,7 @@ AC_ARG_ENABLE(libFLACtest, [ --disable-libFLACtest Do not try to compile
elif test "x$libFLAC_prefix" != "x" ; then
LIBFLAC_CFLAGS="-I$libFLAC_prefix/include"
elif test "$prefix" != "xNONE"; then
LIBFLAC_CFLAGS="-I$prefix/include"
LIBFLAC_CFLAGS=""
fi
AC_MSG_CHECKING(for libFLAC)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment