![](https://seccdn.libravatar.org/avatar/eb2ff594a217acb7dff96eaafa6c848c.jpg?s=120&d=mm&r=g)
Author: kkaempf Date: Wed Dec 3 15:32:58 2008 New Revision: 11851 URL: http://svn.opensuse.org/viewcvs/zypp?rev=11851&view=rev Log: Pythons pointer mangling needs -fno-strict-aliasing Modified: trunk/sat-solver/bindings/python/CMakeLists.txt Modified: trunk/sat-solver/bindings/python/CMakeLists.txt URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/python/CMakeLists.txt?rev=11851&r1=11850&r2=11851&view=diff ============================================================================== --- trunk/sat-solver/bindings/python/CMakeLists.txt (original) +++ trunk/sat-solver/bindings/python/CMakeLists.txt Wed Dec 3 15:32:58 2008 @@ -34,6 +34,9 @@ SET(binding_SRCS "${SWIG_OUTPUT}" "${CMAKE_SOURCE_DIR}/tools/repo_rpmdb.c" ) +# Py_True and Py_False are a bit tricky +ADD_DEFINITIONS( -fno-strict-aliasing ) + ADD_LIBRARY( satsolver_python SHARED ${binding_SRCS} ) # name it '_satsolver.so' # and don't prefix with 'lib' -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org