Remove -Wstrict-prototypes build flag from libnyquist.

The build flag -Wstrict-prototypes produces many warnings and we do not want to
modify the upstream nyquist code to just remove compiler warnings.
This commit is contained in:
benjamin.drung@gmail.com 2014-05-29 13:34:48 +00:00
parent de982fba92
commit 1463d07aea

View File

@ -88,9 +88,6 @@ dnl different options for these. This bit tries to work out what flags we
dnl should add to the compiler we are using. dnl should add to the compiler we are using.
dnl -------------------------------------------------------------------------- dnl --------------------------------------------------------------------------
dnl Strict prototypes flags for C (only C because doesn't work for C++)
AX_CFLAGS_STRICT_PROTOTYPES(CFLAGS)
dnl Sensible warnings for C dnl Sensible warnings for C
AX_CFLAGS_WARN_ALL(wall_flags) AX_CFLAGS_WARN_ALL(wall_flags)
CFLAGS="${CFLAGS} $wall_flags" CFLAGS="${CFLAGS} $wall_flags"