disable warnings about strict aliasing; gcc does broken warnings here in conjunction...
authorWilfried Goesgens <dothebart@citadel.org>
Wed, 7 Sep 2011 12:14:16 +0000 (12:14 +0000)
committerWilfried Goesgens <dothebart@citadel.org>
Wed, 7 Sep 2011 12:14:16 +0000 (12:14 +0000)
citadel/configure.ac

index c0f325b75c0babd6b308de369718d0d64bb2e2fa..7943c3bf9ce08072c2839c6e2dda12725cdd4c8b 100644 (file)
@@ -367,7 +367,7 @@ if test "$GCC" = yes; then
                                CFLAGS="$CFLAGS -Wall -Wcast-qual -Wcast-align -Wno-char-subscripts $PTHREAD_DEFS"
                        ;;
                        *)
-                       CFLAGS="$CFLAGS -Wall -Wcast-qual -Wcast-align -Wstrict-prototypes $PTHREAD_DEFS"
+                       CFLAGS="$CFLAGS -Wall -Wcast-qual -Wcast-align -Wstrict-prototypes -Wno-strict-aliasing $PTHREAD_DEFS"
                        ;;
                esac
        fi