[gnet] Use -fno-strict-aliasing in CFLAGS to work around broken GLib headers



commit 0bbb58bbc0d7f57b939daa74110520ce3a80f3bf
Author: Tim-Philipp Müller <tim centricular net>
Date:   Fri Apr 17 20:51:12 2009 +0100

    Use -fno-strict-aliasing in CFLAGS to work around broken GLib headers
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 95cc6a2..3ad1022 100644
--- a/configure.ac
+++ b/configure.ac
@@ -550,7 +550,7 @@ fi
 # If the compiler is gcc, turn on as many warnings as possible
 if test "x$GCC" = "xyes"; then
   CFLAGS="$CFLAGS -Wall -Wstrict-prototypes \
-    -Wmissing-prototypes -Wmissing-declarations"
+    -Wmissing-prototypes -Wmissing-declarations -fno-strict-aliasing"
   if test "x$enable_debug" = "xyes"; then
     CFLAGS="$CFLAGS -Werror"
   fi



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]