fix warning suppression
This commit is contained in:
parent
85adcdf644
commit
406ea7de7a
|
@ -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 ;;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue