fix warning suppression

This commit is contained in:
rofl0r 2012-06-23 14:40:36 +02:00
parent 85adcdf644
commit 406ea7de7a
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -3150,7 +3150,7 @@ if test "$enable_warnings" = yes ; then
case "$CC" in *gcc*)
echo "$as_me:3151: result: enabling selected compiler warnings" >&5
echo "${ECHO_T}enabling selected compiler warnings" >&6
CFLAGS="$CFLAGS -ansi -pedantic -Wall -Wno-implicit -Wno-long-long" ;;
CFLAGS="$CFLAGS -ansi -pedantic -Wall" ;;
*)
echo "$as_me:3155: result: disabling warnings for non-gcc compiler" >&5
echo "${ECHO_T}disabling warnings for non-gcc compiler" >&6 ;;

View File

@ -133,7 +133,7 @@ AC_ARG_ENABLE(asm, [ --enable-asm use hand-optimized asm cores]
if test "$enable_warnings" = yes ; then
case "$CC" in *gcc*)
AC_MSG_RESULT(enabling selected compiler warnings)
CFLAGS="$CFLAGS -ansi -pedantic -Wall -Wno-implicit -Wno-long-long" ;;
CFLAGS="$CFLAGS -ansi -pedantic -Wall" ;;
*)
AC_MSG_RESULT(disabling warnings for non-gcc compiler) ;;
esac