uwsgi: backport master changes to 19.07

To support new luci version uwsgi has been changed.
Backport this changes to 19.07

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
This commit is contained in:
Ansuel Smith
2020-01-31 23:07:54 +01:00
parent 8b5c2901c0
commit 2c4e6a5390
16 changed files with 353 additions and 121 deletions
@@ -0,0 +1,11 @@
--- a/uwsgiconfig.py
+++ b/uwsgiconfig.py
@@ -680,7 +680,7 @@ class uConf(object):
self.include_path += os.environ['UWSGI_INCLUDES'].split(',')
- self.cflags = ['-O2', '-I.', '-Wall', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64'] + os.environ.get("CFLAGS", "").split() + self.get('cflags','').split()
+ self.cflags = ['-I.', '-Wall', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64'] + os.environ.get("CFLAGS", "").split() + self.get('cflags','').split()
report['kernel'] = uwsgi_os