You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
529 B

  1. --- a/uwsgiconfig.py
  2. +++ b/uwsgiconfig.py
  3. @@ -685,7 +685,7 @@ class uConf(object):
  4. self.include_path += os.environ['UWSGI_INCLUDES'].split(',')
  5. - self.cflags = ['-O2', '-I.', '-Wall', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64'] + os.environ.get("CFLAGS", "").split() + self.get('cflags','').split()
  6. + self.cflags = ['-I.', '-Wall', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64'] + os.environ.get("CFLAGS", "").split() + self.get('cflags','').split()
  7. report['kernel'] = uwsgi_os