Skip to content

Commit

Permalink
update for arm macos targets
Browse files Browse the repository at this point in the history
  • Loading branch information
mjansson committed Dec 7, 2021
1 parent 17ba926 commit 28ccb53
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build/ninja/clang.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ def initialize(self, project, archs, configs, includepaths, dependlibs, libpaths
#Default variables
self.sysroot = ''
if self.target.is_ios():
self.deploymenttarget = '9.0'
self.deploymenttarget = '15.0'
if self.target.is_macos():
self.deploymenttarget = '10.7'
self.deploymenttarget = '12.0'

#Command definitions
self.cccmd = '$toolchain$cc -MMD -MT $out -MF $out.d $includepaths $moreincludepaths $cflags $carchflags $cconfigflags $cmoreflags $cenvflags -c $in -o $out'
Expand Down
2 changes: 1 addition & 1 deletion build/ninja/toolchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def initialize_default_archs(self):
else:
self.archs = [localarch]
elif self.target.is_macos():
self.archs = ['x86-64']
self.archs = ['x86-64', 'arm64']
elif self.target.is_ios():
self.archs = ['arm7', 'arm64']
elif self.target.is_raspberrypi():
Expand Down
4 changes: 2 additions & 2 deletions build/ninja/xcode.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ def initialize_toolchain(self):
self.bundleidentifier = ''
self.provisioning = ''
if self.target.is_macos():
self.deploymenttarget = '10.7'
self.deploymenttarget = '12.0'
elif self.target.is_ios():
self.deploymenttarget = '8.0'
self.deploymenttarget = '15.0'

def build_toolchain(self):
if self.target.is_macos():
Expand Down

0 comments on commit 28ccb53

Please sign in to comment.