summaryrefslogtreecommitdiff
path: root/bindings
diff options
context:
space:
mode:
Diffstat (limited to 'bindings')
-rw-r--r--bindings/python/Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/bindings/python/Makefile.in b/bindings/python/Makefile.in
index abd7638a..af928ad0 100644
--- a/bindings/python/Makefile.in
+++ b/bindings/python/Makefile.in
@@ -4,6 +4,7 @@ prefix = @prefix@
CFLAGS = $(subst -Werror,,@CFLAGS@)
CFLAGS += $(shell python -c 'from distutils import sysconfig; print "-I" + sysconfig.get_python_inc()')
CFLAGS += -I$(top_srcdir)/lib/libalpm
+CFLAGS += -fno-strict-aliasing # see the swig docs
ifeq ($(shell arch),x86_64)
CFLAGS += -fPIC
endif