Fix warning check

This commit is contained in:
Thomas Pöchtrager 2020-03-22 13:52:15 +01:00
parent 49b8b65f3d
commit 3d8ed37cfe
2 changed files with 4 additions and 4 deletions

4
cctools/configure vendored
View File

@ -17466,7 +17466,7 @@ fi
### Check for supported warning options ###
ORIGCFLAGS=$CFLAGS
CFLAGS="$CFLAGS -Wno-shift-negative-value"
CFLAGS="$CFLAGS -Werror -Wno-shift-negative-value"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-shift-negative-value" >&5
$as_echo_n "checking whether $CC supports -Wno-shift-negative-value... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@ -17486,7 +17486,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS=$ORIGCFLAGS
ORIGCFLAGS=$CFLAGS
CFLAGS="$CFLAGS -Wno-misleading-indentation"
CFLAGS="$CFLAGS -Werror -Wno-misleading-indentation"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-misleading-indentation" >&5
$as_echo_n "checking whether $CC supports -Wno-misleading-indentation... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext

View File

@ -284,7 +284,7 @@ AC_SUBST(GCC_LIB)
### Check for supported warning options ###
ORIGCFLAGS=$CFLAGS
CFLAGS="$CFLAGS -Wno-shift-negative-value"
CFLAGS="$CFLAGS -Werror -Wno-shift-negative-value"
AC_MSG_CHECKING([whether $CC supports -Wno-shift-negative-value])
AC_COMPILE_IFELSE(
[AC_LANG_SOURCE([[int dummy;]])],
@ -295,7 +295,7 @@ AC_COMPILE_IFELSE(
CFLAGS=$ORIGCFLAGS
ORIGCFLAGS=$CFLAGS
CFLAGS="$CFLAGS -Wno-misleading-indentation"
CFLAGS="$CFLAGS -Werror -Wno-misleading-indentation"
AC_MSG_CHECKING([whether $CC supports -Wno-misleading-indentation])
AC_COMPILE_IFELSE(
[AC_LANG_SOURCE([[int dummy;]])],