mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-08 06:31:58 +00:00
export build date
This commit is contained in:
@@ -121,6 +121,9 @@ void emperor_add(char *name, time_t born) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
|
||||
unsetenv("UWSGI_RELOADS");
|
||||
|
||||
uef = uwsgi_num2str(n_ui->pipe[1]);
|
||||
if (setenv("UWSGI_EMPEROR_FD", uef, 1)) {
|
||||
uwsgi_error("setenv()");
|
||||
|
||||
@@ -772,7 +772,7 @@ options_parsed:
|
||||
uwsgi_log("***\n*** You are running a DEBUG version of uWSGI, plese disable DEBUG in uwsgiconfig.py and recompile it ***\n***\n");
|
||||
#endif
|
||||
|
||||
uwsgi_log("compiled with version: %s\n", __VERSION__);
|
||||
uwsgi_log("compiled with version: %s on %s\n", __VERSION__, UWSGI_BUILD_DATE);
|
||||
|
||||
#ifdef __BIG_ENDIAN__
|
||||
uwsgi_log("*** big endian arch detected ***\n");
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
import os
|
||||
import re
|
||||
import time
|
||||
uwsgi_os = os.uname()[0]
|
||||
uwsgi_os_k = re.split('[-+]', os.uname()[2])[0]
|
||||
uwsgi_os_v = os.uname()[3]
|
||||
@@ -208,6 +209,8 @@ class uConf(object):
|
||||
sys.exit(1)
|
||||
|
||||
def get_gcll(self):
|
||||
|
||||
self.cflags.append('-DUWSGI_BUILD_DATE="\\"%s\\""' % time.strftime("%d %B %Y %H:%M:%S"))
|
||||
kvm_list = ['FreeBSD', 'OpenBSD', 'NetBSD', 'DragonFly']
|
||||
|
||||
if uwsgi_os == 'SunOS':
|
||||
|
||||
Reference in New Issue
Block a user