changeset 6717:c72012e40672

[gaim-migrate @ 7243] Look at me, I'm GCC! "cry cry strict aliasing cry cry pointer cry pun" committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Wed, 03 Sep 2003 01:13:20 +0000
parents 0e2c617e1ac9
children 37af5dea14d1
files configure.ac
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Wed Sep 03 00:24:26 2003 +0000
+++ b/configure.ac	Wed Sep 03 01:13:20 2003 +0000
@@ -619,6 +619,9 @@
 	TCL_LIBS=$TCL_LIB_SPEC
 	AC_SUBST(TCL_LIBS)
 	TCL_CFLAGS=$TCL_INCLUDE_SPEC
+	if test "x$GCC" = "xyes"; then
+		TCL_CFLAGS="$TCL_CFLAGS -fno-strict-aliasing"
+	fi
 	AC_SUBST(TCL_CFLAGS)
 else
 	AM_CONDITIONAL(USE_TCL, false)