mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-04-28 10:53:37 +00:00
hack for adding an empty DEBUG section to the uwsgi core binary
This commit is contained in:
3
Makefile
3
Makefile
@@ -9,5 +9,8 @@ clean:
|
||||
check:
|
||||
$(PYTHON) uwsgiconfig.py --check
|
||||
|
||||
plugin.%:
|
||||
$(PYTHON) uwsgiconfig.py --plugin plugins/$* $(PROFILE)
|
||||
|
||||
%:
|
||||
$(PYTHON) uwsgiconfig.py --build $@
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
[uwsgi]
|
||||
main_plugin = gccgo
|
||||
inherit = base
|
||||
cflags = -g
|
||||
|
||||
@@ -325,7 +325,11 @@ def build_uwsgi(uc, print_only=False, gcll=None):
|
||||
if objfile.endswith('.go'):
|
||||
cflags.pop()
|
||||
else:
|
||||
if objfile == 'core/dot_h':
|
||||
cflags.append('-g')
|
||||
compile(' '.join(cflags), last_cflags_ts, objfile + '.o', file + '.c')
|
||||
if objfile == 'core/dot_h':
|
||||
cflags.pop()
|
||||
|
||||
if uc.get('embedded_plugins'):
|
||||
ep = uc.get('embedded_plugins').split(',')
|
||||
|
||||
Reference in New Issue
Block a user