File wxPython-no-strict-aliasing.patch of Package python-wxWidgets

--- wxPython/wx/tools/Editra/setup.py
+++ wxPython/wx/tools/Editra/setup.py
@@ -342,7 +342,7 @@
 
     # Force optimization
     if 'install' in sys.argv and ('O1' not in sys.argv or '02' not in sys.argv):
-        sys.argv.append('-O2')
+        sys.argv.append('-O2 -fno-strict-aliasing')
 
         # Install the plugins for this version of Python
         DATA.append("plugins/*py%d.%d.egg" % sys.version_info[:2])
openSUSE Build Service is sponsored by