mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-08 06:31:58 +00:00
fix no-strict-aliasing
This commit is contained in:
@@ -3321,7 +3321,7 @@ void manage_opt(int i, char *optarg) {
|
||||
\t--erlang <name@ip>\t\tenable the Erlang server with node name <node@ip>\n\
|
||||
\t--erlang-cookie <cookie>\tset the erlang cookie to <cookie>\n\
|
||||
\t--nagios\t\t\tdo a nagios check\n\
|
||||
\t--binary-path <bin-path>\ttset the path for the next reload of uWSGI (needed for chroot environments)\n\
|
||||
\t--binary-path <bin-path>\tset the path for the next reload of uWSGI (needed for chroot environments)\n\
|
||||
\t--proxy <socket>\t\trun the uwsgi proxy on socket <socket>\n\
|
||||
\t--proxy-node <socket>\t\tadd the node <socket> to the proxy\n\
|
||||
\t--proxy-max-connections <n>\tset the max number of concurrent connections mnaged by the proxy\n\
|
||||
|
||||
+1
-1
@@ -92,7 +92,7 @@ gcc_minor = int(gcc_version.split('.')[1])
|
||||
|
||||
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):
|
||||
|
||||
Reference in New Issue
Block a user