Skip to content

Commit

Permalink
python3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
mjansson committed Feb 12, 2018
1 parent 720668a commit c947f38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/ninja/toolchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def initialize_default_archs(self):
elif localarch == 'i686':
self.archs = ['x86']
else:
self.archs = [localarch]
self.archs = [str(localarch)]
elif self.target.is_macos():
self.archs = ['x86-64']
elif self.target.is_ios():
Expand All @@ -159,7 +159,7 @@ def initialize_configs(self, configs):
self.initialize_default_configs()

def initialize_default_configs(self):
self.configs = ['debug', 'release'] #, 'profile', 'deploy']
self.configs = ['debug', 'release']

def initialize_toolchain(self):
if self.android != None:
Expand Down

0 comments on commit c947f38

Please sign in to comment.