Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
SConscript: Fix some inconsistencies
  • Loading branch information
wolfy1339 committed Dec 22, 2015
1 parent c73d81b commit a6f6405
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions SConscript
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit a6f6405

Please sign in to comment.