Commit 9ea7e2c3 authored by Josh Coalson's avatar Josh Coalson
Browse files

preserve passed in CFLAGS

parent 9e975add
......@@ -135,6 +135,7 @@ AC_SUBST(FLaC__USIZE32)
AC_SUBST(FLaC__SIZE64)
AC_SUBST(FLaC__USIZE64)
SAVE_CFLAGS="$CFLAGS"
CFLAGS='-I./include -I $(top_srcdir)/include -Wall -W'
if test x$debug = xtrue; then
CFLAGS="$CFLAGS -g -O0 -DDEBUG"
......@@ -144,6 +145,7 @@ CFLAGS="$CFLAGS -O3 -DNDEBUG"
CFLAGS="$CFLAGS -fomit-frame-pointer -funroll-loops -finline-functions -Winline -DFLAC__INLINE=__inline__"
fi
fi
CFLAGS="$CFLAGS $SAVE_CFLAGS"
AC_OUTPUT( Makefile \
src/Makefile \
......
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