summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2012-07-24 06:53:37 +0200
committerStef Walter <stefw@gnome.org>2012-07-24 06:54:09 +0200
commit45c4936ba0d5e3de7813c47811b277bed1c71576 (patch)
tree780290e9ef693225227997cdda765084de4c774b
parent5cd198107374ff1879767679d29df0ce78f9427f (diff)
downloadp11-kit-45c4936ba0d5e3de7813c47811b277bed1c71576.tar.gz
Don't use strict aliasing during compilation
* Due to the way in which we pass pointers of different types to _p11_hash_iter_next()
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 0e1e2f8..06fa646 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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"