summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2004-03-26 20:35:49 (GMT)
committerdgp@users.sourceforge.net <dgp>2004-03-26 20:35:49 (GMT)
commitd6ac8b6e5820334aed882eb454bd86ca854be6b9 (patch)
treefa244148df87ba5acf6440df72ec79b7cfbebac6 /unix
parent40c934bcd6db169a3d0ecd0c51dbd38923996ac0 (diff)
downloadtk-d6ac8b6e5820334aed882eb454bd86ca854be6b9.zip
tk-d6ac8b6e5820334aed882eb454bd86ca854be6b9.tar.gz
tk-d6ac8b6e5820334aed882eb454bd86ca854be6b9.tar.bz2
* unix/tcl.m4: Replaced -Wno-strict-alias with more portable
-fno-strict-alias alternative. * unix/configure: autoconf-2.57
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 a59cf80..f873e72 100755
--- a/unix/configure
+++ b/unix/configure
@@ -3798,7 +3798,7 @@ fi
CFLAGS_DEBUG=-g
CFLAGS_OPTIMIZE=-O
if test "$GCC" = "yes" ; then
- CFLAGS_WARNING="-Wall -Wconversion -Wno-implicit-int -Wno-strict-aliasing"
+ CFLAGS_WARNING="-Wall -Wconversion -Wno-implicit-int -fno-strict-aliasing"
else
CFLAGS_WARNING=""
fi
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index df90ce9..50c52b8 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -809,7 +809,7 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [
CFLAGS_DEBUG=-g
CFLAGS_OPTIMIZE=-O
if test "$GCC" = "yes" ; then
- CFLAGS_WARNING="-Wall -Wconversion -Wno-implicit-int -Wno-strict-aliasing"
+ CFLAGS_WARNING="-Wall -Wconversion -Wno-implicit-int -fno-strict-aliasing"
else
CFLAGS_WARNING=""
fi