mirror of https://github.com/xiph/flac
preserve passed in CFLAGS
This commit is contained in:
parent
9e975add2b
commit
9ea7e2c3ad
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue