mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-24 05:47:36 +00:00
Remove -wshadow from cflags: causes the toy scheme interpreter to fail to build on freebsd (because <string.h> defines a function index on bsd).
Copied from Perforce Change: 182544 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
058568fab1
commit
b32d6919a7
2 changed files with 2 additions and 2 deletions
2
mps/configure
vendored
2
mps/configure
vendored
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue