Added compile flags to speed up compile process (duh)
This commit is contained in:
parent
2e25864eec
commit
8f20f9cb24
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ class Compile(Routing.ServerRoute):
|
|||
if not os.path.exists(full_path):
|
||||
os.mkdir(full_path)
|
||||
error = True
|
||||
p = Popen(["gcc", "-o", "%s" % full_path + "/botball_user_program", path + relpath], stdout=PIPE, stderr=PIPE)
|
||||
p = Popen(["gcc", "-pipe", "-O0", "-o", "%s" % full_path + "/botball_user_program", path + relpath], stdout=PIPE, stderr=PIPE)
|
||||
error = False if p.wait() == 0 else True
|
||||
result = ""
|
||||
for line in p.communicate():
|
||||
|
|
Reference in a new issue