mirror of
https://github.com/darlinghq/cctools-port.git
synced 2024-11-26 21:50:26 +00:00
Fix warning check
This commit is contained in:
parent
49b8b65f3d
commit
3d8ed37cfe
4
cctools/configure
vendored
4
cctools/configure
vendored
@ -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
|
||||
|
@ -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;]])],
|
||||
|
Loading…
Reference in New Issue
Block a user