mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
Revert colorgcc changes, it might give unpredictable weird results sometimes
This commit is contained in:
parent
2d86e3ec31
commit
586642e23c
@ -20,7 +20,6 @@ MAINTHREAD=threading.currentThread()
|
||||
OUTPUTDIR="built"
|
||||
CUSTOM_OUTPUTDIR=False
|
||||
OPTIMIZE="3"
|
||||
USE_COLORGCC=os.path.isfile("/usr/bin/colorgcc")
|
||||
|
||||
########################################################################
|
||||
##
|
||||
@ -131,8 +130,6 @@ def oscmd(cmd, ignoreError = False):
|
||||
exit("Cannot find "+exe+" on search path")
|
||||
res = os.spawnl(os.P_WAIT, exe, cmd)
|
||||
else:
|
||||
if (USE_COLORGCC and (cmd.startswith("g++ ") or cmd.startswith("gcc "))):
|
||||
cmd = "colorgcc" + cmd[3:]
|
||||
res = os.system(cmd)
|
||||
if res != 0 and not ignoreError:
|
||||
exit("")
|
||||
|
Loading…
x
Reference in New Issue
Block a user