mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-06 21:51:30 +00:00
added APPEND_CFLAGS support
This commit is contained in:
@@ -263,6 +263,9 @@ def build_uwsgi(uc, print_only=False, gcll=None):
|
||||
print(' '.join(cflags))
|
||||
sys.exit(0)
|
||||
|
||||
if 'APPEND_CFLAGS' in os.environ:
|
||||
cflags += os.environ['APPEND_CFLAGS'].split()
|
||||
|
||||
print("detected CPU cores: %d" % CPUCOUNT)
|
||||
print("configured CFLAGS: %s" % ' '.join(cflags))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user