]> granicus.if.org Git - p11-kit/commitdiff
Don't use strict aliasing during compilation
authorStef Walter <stefw@gnome.org>
Tue, 24 Jul 2012 04:53:37 +0000 (06:53 +0200)
committerStef Walter <stefw@gnome.org>
Tue, 24 Jul 2012 04:54:09 +0000 (06:54 +0200)
 * Due to the way in which we pass pointers of different types
   to _p11_hash_iter_next()

configure.ac

index 0e1e2f81ad1f4898191c538f97d284b4281cfab6..06fa6466e5b0dcd3c4ee67e6e7420988c1a59dbc 100644 (file)
@@ -193,7 +193,8 @@ if test "$GCC" = "yes"; then
                -Wall -Wstrict-prototypes -Wmissing-declarations \
                -Wmissing-prototypes -Wnested-externs -Wpointer-arith \
                -Wdeclaration-after-statement -Wformat=2 -Winit-self \
-               -Waggregate-return -Wno-missing-format-attribute"
+               -Waggregate-return -Wno-missing-format-attribute \
+               -fno-strict-aliasing"
 
        for option in -Wmissing-include-dirs -Wundef; do
                SAVE_CFLAGS="$CFLAGS"