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 215
215
test -n "$GCC" && CFLAGS="-Wall -Wextra -Wno-strict-aliasing -Wno-implicit-fallthrough -Wno-unused-parameter -Wno-sign-compare $CFLAGS"
216
216
dnl Check if compiler supports -Wno-clobbered (only GCC)
217
217
AX_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] )
218
222
219
223
test -n "$DEBUG_CFLAGS" && CFLAGS="$CFLAGS $DEBUG_CFLAGS"
220
224
You can’t perform that action at this time.
0 commit comments