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
commitb4114a1428bfa6f7be602f7e317eeaa8053eab67 (patch)
treeae2cb691fe25c6eaf873a03afbda9ea059aa7811 /cpp/bindings/qpid/python
parentb752b045783652ba392de9a8c8c2871114d45919 (diff)
downloadqpid-python-b4114a1428bfa6f7be602f7e317eeaa8053eab67.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)