applied Leonid Borisenko patch to allow -O2 and -fno-strict-aliasing CFLAGS

This commit is contained in:
roberto@sirius
2010-08-27 06:21:43 +02:00
parent 00c6aa2f65
commit bbb90296bb
3 changed files with 6 additions and 4 deletions
+4 -2
View File
@@ -83,7 +83,7 @@ void uwsgi_ini_config(char *file, struct option *long_options) {
char *ini_line;
char *section;
char *section = "";
char *key;
char *val;
@@ -96,7 +96,9 @@ void uwsgi_ini_config(char *file, struct option *long_options) {
colon = strchr(file, ':');
if (colon) {
colon[0] = 0;
section_asked = colon+1 ;
if (colon[1] != 0) {
section_asked = colon+1 ;
}
}
fd = open(file, O_RDONLY);
+1 -1
View File
@@ -2344,7 +2344,7 @@ void uwsgi_wsgi_config(char *filename) {
PyObject *app_list;
int ret;
Py_ssize_t i;
PyObject *app_mnt, *app_app;
PyObject *app_mnt, *app_app = NULL;
FILE *uwsgifile;
char *quick_callable = NULL;
+1 -1
View File
@@ -28,7 +28,7 @@ STACKLESS=False
PLUGINS = []
USWALLOW=False
UNBIT=False
DEBUG=True
DEBUG=False
EMBED_PLUGINS=True
UWSGI_BIN_NAME = 'uwsgi'
UWSGI_PLUGIN_DIR = '.'