1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 16:51:06 -07:00

Oops, -wno-invalid-offsetof is clang-only.

Copied from Perforce
 Change: 196417
This commit is contained in:
Gareth Rees 2019-10-10 15:04:50 +01:00
parent 84b26d639e
commit cfb5647bd5
2 changed files with 3 additions and 5 deletions

3
mps/configure vendored
View file

@ -3373,8 +3373,7 @@ fi
CFLAGS_GC="-ansi -pedantic -Wall -Werror -Wpointer-arith \
-Wstrict-prototypes -Wmissing-prototypes \
-Winline -Waggregate-return -Wnested-externs \
-Wcast-qual -Wstrict-aliasing=2 -Wno-invalid-offsetof \
-O -g3 -pthread"
-Wcast-qual -Wstrict-aliasing=2 -O -g3 -pthread"
CFLAGS_LL=$CFLAGS_GC
# Make sure we can run config.sub.

View file

@ -35,9 +35,8 @@ AC_CHECK_DECL([__clang__],[CLANG=yes],[CLANG=no])
CFLAGS_GC="-ansi -pedantic -Wall -Werror -Wpointer-arith \
-Wstrict-prototypes -Wmissing-prototypes \
-Winline -Waggregate-return -Wnested-externs \
-Wcast-qual -Wstrict-aliasing=2 -Wno-invalid-offsetof \
-O -g3 -pthread"
CFLAGS_LL=$CFLAGS_GC
-Wcast-qual -Wstrict-aliasing=2 -O -g3 -pthread"
CFLAGS_LL="$CFLAGS_GC -Wno-invalid-offsetof"
AC_CANONICAL_HOST
AC_MSG_CHECKING([target platform])