On 08.09.2010 19:21, Roberto De Ioris wrote:
Il giorno 08/set/2010, alle ore 18.07, Leonid Borisenko ha scritto:
cflags = cflags + ['-fno-strict-aliasing']
"virtual" patch applied :)
Thanks.
You should also remove '-fno-strict-aliasing' from initialization of
'cflags' variable (patch after current tip is attached).
diff -r e163d41a4098 uwsgiconfig.py
--- a/uwsgiconfig.py Fri Sep 10 17:21:14 2010 +0200
+++ b/uwsgiconfig.py Fri Sep 10 20:29:23 2010 +0300
@@ -92,7 +92,7 @@
gcc_list = ['utils', 'pyutils', 'protocol', 'socket', 'logging', 'wsgi_handlers', 'wsgi_headers', 'uwsgi_handlers', 'plugins', 'uwsgi']
-cflags = ['-O2', '-fno-strict-aliasing', '-Wall', '-Werror', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64'] + os.environ.get("CFLAGS", "").split()
+cflags = ['-O2', '-Wall', '-Werror', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64'] + os.environ.get("CFLAGS", "").split()
# add -fno-strict-aliasing only on python2 and gcc < 4.3
if (sys.version_info[0] == 2) or (gcc_major < 4) or (gcc_major == 4 and gcc_minor < 3):
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi