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:
parent
84b26d639e
commit
cfb5647bd5
2 changed files with 3 additions and 5 deletions
3
mps/configure
vendored
3
mps/configure
vendored
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue