File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
7
7
## [ Unreleased]
8
8
9
9
- Fixed a bug on Solaris where copying archives failed.
10
+ - Added support for passing arbitrary architectures to Xcode builds, enables ` arm64 ` builds.
10
11
11
12
## [ 0.3.0] - 2020-06-06
12
13
Original file line number Diff line number Diff line change @@ -1342,7 +1342,7 @@ def WriteSources(
1342
1342
)
1343
1343
1344
1344
if self .flavor == "mac" :
1345
- cflags = self .xcode_settings .GetCflags (configname )
1345
+ cflags = self .xcode_settings .GetCflags (configname , arch = config . get ( 'xcode_configuration_platform' ) )
1346
1346
cflags_c = self .xcode_settings .GetCflagsC (configname )
1347
1347
cflags_cc = self .xcode_settings .GetCflagsCC (configname )
1348
1348
cflags_objc = self .xcode_settings .GetCflagsObjC (configname )
@@ -1637,6 +1637,7 @@ def WriteTarget(
1637
1637
configname ,
1638
1638
generator_default_variables ["PRODUCT_DIR" ],
1639
1639
lambda p : Sourceify (self .Absolutify (p )),
1640
+ arch = config .get ('xcode_configuration_platform' )
1640
1641
)
1641
1642
1642
1643
# TARGET_POSTBUILDS_$(BUILDTYPE) is added to postbuilds later on.
You can’t perform that action at this time.
0 commit comments