diff options
| author | Ted Ross <tross@apache.org> | 2010-10-13 18:18:45 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2010-10-13 18:18:45 +0000 |
| commit | b4114a1428bfa6f7be602f7e317eeaa8053eab67 (patch) | |
| tree | ae2cb691fe25c6eaf873a03afbda9ea059aa7811 /cpp | |
| parent | b752b045783652ba392de9a8c8c2871114d45919 (diff) | |
| download | qpid-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')
| -rw-r--r-- | cpp/bindings/qmf/python/Makefile.am | 2 | ||||
| -rw-r--r-- | cpp/bindings/qmf2/python/Makefile.am | 2 | ||||
| -rw-r--r-- | cpp/bindings/qpid/python/Makefile.am | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/cpp/bindings/qmf/python/Makefile.am b/cpp/bindings/qmf/python/Makefile.am index 42b1cc7b01..54e4a82770 100644 --- a/cpp/bindings/qmf/python/Makefile.am +++ b/cpp/bindings/qmf/python/Makefile.am @@ -39,7 +39,7 @@ lib_LTLIBRARIES = _qmfengine.la #_qmfengine_la_LDFLAGS = -avoid-version -module -shrext ".so" _qmfengine_la_LDFLAGS = -avoid-version -module -shared _qmfengine_la_LIBADD = $(PYTHON_LIBS) -L$(top_builddir)/src/.libs -lqpidclient $(top_builddir)/src/libqmf.la -_qmfengine_la_CXXFLAGS = $(INCLUDES) -I$(srcdir)/qmf -I$(PYTHON_INC) +_qmfengine_la_CXXFLAGS = $(INCLUDES) -I$(srcdir)/qmf -I$(PYTHON_INC) -fno-strict-aliasing nodist__qmfengine_la_SOURCES = qmfengine.cpp CLEANFILES = $(generated_file_list) diff --git a/cpp/bindings/qmf2/python/Makefile.am b/cpp/bindings/qmf2/python/Makefile.am index 9165822f6e..814ca9029c 100644 --- a/cpp/bindings/qmf2/python/Makefile.am +++ b/cpp/bindings/qmf2/python/Makefile.am @@ -37,7 +37,7 @@ lib_LTLIBRARIES = _cqmf2.la _cqmf2_la_LDFLAGS = -avoid-version -module -shared _cqmf2_la_LIBADD = $(PYTHON_LIBS) -L$(top_builddir)/src/.libs $(top_builddir)/src/libqmf2.la -_cqmf2_la_CXXFLAGS = $(INCLUDES) -I$(srcdir)/qmf -I$(PYTHON_INC) +_cqmf2_la_CXXFLAGS = $(INCLUDES) -I$(srcdir)/qmf -I$(PYTHON_INC) -fno-strict-aliasing nodist__cqmf2_la_SOURCES = cqmf2.cpp CLEANFILES = $(generated_file_list) 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) |
