From f9357cb986dda76dbee795e7b602662ffb4602b6 Mon Sep 17 00:00:00 2001 From: Peter Keresztes Schmidt Date: Fri, 5 Jun 2020 13:03:18 +0200 Subject: [PATCH] configure: Do not set -Wno-strict-aliasing -Wno-sign-compare Related: https://pagure.io/freeipa/issue/8351 Reviewed-By: Alexander Bokovoy Reviewed-By: Rob Crittenden --- configure.ac | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/configure.ac b/configure.ac index 160dd586a..325079fcf 100644 --- a/configure.ac +++ b/configure.ac @@ -471,22 +471,6 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then -Wcast-align -Wsign-compare \ -Wshadow -Wstrict-prototypes \ $CFLAGS" - - for option in -Wno-strict-aliasing -Wno-sign-compare; do - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $option" - AC_MSG_CHECKING([whether gcc understands $option]) - AC_TRY_COMPILE([], [], - has_option=yes, - has_option=no,) - if test $has_option = no; then - CFLAGS="$SAVE_CFLAGS" - fi - AC_MSG_RESULT($has_option) - unset has_option - unset SAVE_CFLAGS - done - unset option else AC_MSG_RESULT(no) fi