diff --git a/mps/configure b/mps/configure index d30e26d8cac..f3310d01998 100755 --- a/mps/configure +++ b/mps/configure @@ -2918,7 +2918,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' CFLAGS_GC="-ansi -pedantic -Wall -Werror -Wpointer-arith \ -Wstrict-prototypes -Wmissing-prototypes \ -Winline -Waggregate-return -Wnested-externs \ - -Wcast-qual -Wshadow -Wstrict-aliasing=2 -O -g3" + -Wcast-qual -Wstrict-aliasing=2 -O -g3" CFLAGS_LL="$CFLAGS_GC -Wno-extended-offsetof" # Make sure we can run config.sub. diff --git a/mps/configure.ac b/mps/configure.ac index 8c7f376a12e..51d93880951 100644 --- a/mps/configure.ac +++ b/mps/configure.ac @@ -32,7 +32,7 @@ AC_PROG_INSTALL CFLAGS_GC="-ansi -pedantic -Wall -Werror -Wpointer-arith \ -Wstrict-prototypes -Wmissing-prototypes \ -Winline -Waggregate-return -Wnested-externs \ - -Wcast-qual -Wshadow -Wstrict-aliasing=2 -O -g3" + -Wcast-qual -Wstrict-aliasing=2 -O -g3" CFLAGS_LL="$CFLAGS_GC -Wno-extended-offsetof" AC_CANONICAL_HOST