summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-09 13:21:52 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-09 13:21:52 (GMT)
commitac08e647e9c9b96f0960c4231eed38f04d941ea9 (patch)
treea275ed1c496c879a80d2602654762074703f08d5 /unix
parenta6528d2ac354f750c06a598998de1565171c67e3 (diff)
parentcd1fc2183ef5dfde922e6b57a0f9419f84482a97 (diff)
downloadtcl-ac08e647e9c9b96f0960c4231eed38f04d941ea9.zip
tcl-ac08e647e9c9b96f0960c4231eed38f04d941ea9.tar.gz
tcl-ac08e647e9c9b96f0960c4231eed38f04d941ea9.tar.bz2
Merge 8.7
Diffstat (limited to 'unix')
-rwxr-xr-xunix/configure2
-rw-r--r--unix/tcl.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/unix/configure b/unix/configure
index bb4f245..c5ccc87 100755
--- a/unix/configure
+++ b/unix/configure
@@ -5036,7 +5036,7 @@ fi
if test "$GCC" = yes; then :
CFLAGS_OPTIMIZE=-O2
- CFLAGS_WARNING="-Wall -Wextra -Wshadow -Wwrite-strings -Wpointer-arith"
+ CFLAGS_WARNING="-Wall -Wextra -Wshadow -Wundef -Wwrite-strings -Wpointer-arith"
case "${CC}" in
*++|*++-*)
;;
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index ea27408..a9ee2d3 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -966,7 +966,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
CFLAGS_DEBUG=-g
AS_IF([test "$GCC" = yes], [
CFLAGS_OPTIMIZE=-O2
- CFLAGS_WARNING="-Wall -Wextra -Wshadow -Wwrite-strings -Wpointer-arith"
+ CFLAGS_WARNING="-Wall -Wextra -Wshadow -Wundef -Wwrite-strings -Wpointer-arith"
case "${CC}" in
*++|*++-*)
;;