summaryrefslogtreecommitdiff
path: root/cpp/bindings/qpid/python
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2010-10-13 18:18:45 +0000
committerTed Ross <tross@apache.org>2010-10-13 18:18:45 +0000
commit31ae35ca8136ca7d3dc81b3d6cb669b607ba24af (patch)
treeae2cb691fe25c6eaf873a03afbda9ea059aa7811 /cpp/bindings/qpid/python
parent9d47abcbd279e85c0fad2a434f301ee8b14deae6 (diff)
downloadqpid-python-31ae35ca8136ca7d3dc81b3d6cb669b607ba24af.tar.gz
Added -fno-strict-aliasing for all of the swig-generated Python wrappers because
Swig (for Python) generates code that violates the strict aliasing rules. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1022224 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/bindings/qpid/python')
-rw-r--r--cpp/bindings/qpid/python/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/bindings/qpid/python/Makefile.am b/cpp/bindings/qpid/python/Makefile.am
index 0085a762e3..6e3bd490c3 100644
--- a/cpp/bindings/qpid/python/Makefile.am
+++ b/cpp/bindings/qpid/python/Makefile.am
@@ -39,7 +39,7 @@ lib_LTLIBRARIES = _cqpid.la
#_cqpid_la_LDFLAGS = -avoid-version -module -shrext ".so"
_cqpid_la_LDFLAGS = -avoid-version -module -shared
_cqpid_la_LIBADD = $(PYTHON_LIBS) -L$(top_builddir)/src/.libs -lqpidmessaging -lqpidtypes $(top_builddir)/src/libqpidmessaging.la $(top_builddir)/src/libqpidtypes.la
-_cqpid_la_CXXFLAGS = $(INCLUDES) -I$(PYTHON_INC)
+_cqpid_la_CXXFLAGS = $(INCLUDES) -I$(PYTHON_INC) -fno-strict-aliasing
nodist__cqpid_la_SOURCES = cqpid.cpp
CLEANFILES = $(generated_file_list)