Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
evmar committed Aug 10, 2012
1 parent 45ca47e commit d98ba72
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,10 @@ def run(*args, **kwargs):
vcdir = os.environ.get('VCINSTALLDIR')
if vcdir:
if options.x64:
args = [os.path.join(vcdir, 'bin', 'amd64', 'cl.exe'),
'/nologo', '/EHsc', '/DNOMINMAX']
cl = os.path.join(vcdir, 'bin', 'amd64', 'cl.exe'),
else:
args = [os.path.join(vcdir, 'bin', 'cl.exe'),
'/nologo', '/EHsc', '/DNOMINMAX']
cl = [os.path.join(vcdir, 'bin', 'cl.exe')
args = cl + ['/nologo', '/EHsc', '/DNOMINMAX']
else:
args = shlex.split(os.environ.get('CXX', 'g++'))
cflags.extend(['-Wno-deprecated',
Expand Down

0 comments on commit d98ba72

Please sign in to comment.