Permalink
Browse files

SConscript: Fix some inconsistencies

  • Loading branch information...
wolfy1339 committed Dec 22, 2015
1 parent c73d81b commit a6f64055a38d19107c4937bd332a305a4eb3cd91
Showing with 4 additions and 4 deletions.
  1. +4 −4 SConscript
@@ -17,7 +17,7 @@ class ourSpawn:
startupinfo = subprocess.STARTUPINFO()
startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW
proc = subprocess.Popen(cmdline, stdin=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=subprocess.PIPE, startupinfo=startupinfo, shell = False, env = env)
stderr=subprocess.PIPE, startupinfo=startupinfo, shell=False, env=env)
data, err = proc.communicate()
rv = proc.wait()
if rv:
@@ -95,11 +95,11 @@ if msvc and platform != "Windows":
#Create SCons Environment
if GetOption('msvc'):
env = Environment(tools = ['default'], ENV = {'PATH' : os.environ['PATH'], 'TMP' : os.environ['TMP']}, TARGET_ARCH = 'x86')
env = Environment(tools=['default'], ENV={'PATH' : os.environ['PATH'], 'TMP' : os.environ['TMP']}, TARGET_ARCH='x86')
elif platform == "Windows" and not GetOption('msvc'):
env = Environment(tools = ['mingw'], ENV = {'PATH' : os.environ['PATH']})
env = Environment(tools=['mingw'], ENV={'PATH' : os.environ['PATH']})
else:
env = Environment(tools = ['default'], ENV = {'PATH' : os.environ['PATH']})
env = Environment(tools=['default'], ENV={'PATH' : os.environ['PATH']})
#attempt to automatically find cross compiler
if not tool and compilePlatform == "Linux" and compilePlatform != platform:

0 comments on commit a6f6405

Please sign in to comment.