File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 215215test -n "$GCC" && CFLAGS="-Wall -Wextra -Wno-strict-aliasing -Wno-implicit-fallthrough -Wno-unused-parameter -Wno-sign-compare $CFLAGS"
216216dnl Check if compiler supports -Wno-clobbered (only GCC)
217217AX_CHECK_COMPILE_FLAG ( [ -Wno-clobbered] , CFLAGS="-Wno-clobbered $CFLAGS" , , [ -Werror] )
218+ AX_CHECK_COMPILE_FLAG ( [ -Wduplicated-cond] , CFLAGS="-Wduplicated-cond $CFLAGS" , , [ -Werror] )
219+ AX_CHECK_COMPILE_FLAG ( [ -Wlogical-op] , CFLAGS="-Wlogical-op $CFLAGS" , , [ -Werror] )
220+ AX_CHECK_COMPILE_FLAG ( [ -Wformat-truncation] , CFLAGS="-Wformat-truncation $CFLAGS" , , [ -Werror] )
221+ AX_CHECK_COMPILE_FLAG ( [ -fno-common] , CFLAGS="-fno-common $CFLAGS" , , [ -Werror] )
218222
219223test -n "$DEBUG_CFLAGS" && CFLAGS="$CFLAGS $DEBUG_CFLAGS"
220224
You can’t perform that action at this time.
0 commit comments