LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File boost-strict_aliasing.patch of Package boost (Project devel:libraries:c_c++)

Index: libs/python/build/Jamfile
===================================================================
--- libs/python/build/Jamfile.orig
+++ libs/python/build/Jamfile
@@ -116,6 +116,7 @@ rule lib_boost_python ( is-py3 ? )
 
             -<tag>@$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).tag
             <tag>@$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).python-tag
+             <cxxflags>-fno-strict-aliasing
 
         :   # default build
             <link>shared