better to not remove -g/-ggdb

This commit is contained in:
roberto@longshot
2011-11-18 09:29:30 +01:00
parent 3ade8daff8
commit 89e640bdd9
-20
View File
@@ -165,16 +165,6 @@ def build_uwsgi(uc):
except:
pass
try:
p_cflags.remove('-g')
except:
pass
try:
p_cflags.remove('-ggdb')
except:
pass
for cfile in up.GCC_LIST:
if not cfile.endswith('.a'):
compile(' '.join(p_cflags),
@@ -809,16 +799,6 @@ def build_plugin(path, uc, cflags, ldflags, libs, name = None):
except:
pass
try:
p_cflags.remove('-g')
except:
pass
try:
p_cflags.remove('-ggdb')
except:
pass
#for ofile in up.OBJ_LIST:
# gcc_list.insert(0,ofile)