diff options
| author | ruki <[email protected]> | 2021-06-07 22:43:54 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-06-07 22:43:54 +0800 |
| commit | ac05ff1b22addf25aaf846e342239674fe5c05fe (patch) | |
| tree | e4771c32f7a4786394380ef80d31f53ae6b6a7bd /xmake/toolchains/xcode/load_iphoneos.lua | |
| parent | 8240d2513e641ceec83b957cae42fac90ad0e306 (diff) | |
improve arc for xcode/objc
Diffstat (limited to 'xmake/toolchains/xcode/load_iphoneos.lua')
| -rw-r--r-- | xmake/toolchains/xcode/load_iphoneos.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/toolchains/xcode/load_iphoneos.lua b/xmake/toolchains/xcode/load_iphoneos.lua index fc52d5f3c..0fda9704c 100644 --- a/xmake/toolchains/xcode/load_iphoneos.lua +++ b/xmake/toolchains/xcode/load_iphoneos.lua @@ -43,6 +43,8 @@ function main(toolchain) -- init flags for objc/c++ toolchain:add("mxflags", "-arch", arch, target_minver_flags, "-isysroot", xcode_sysroot) + -- we can use `add_mxflags("-fno-objc-arc")` to override it in xmake.lua + toolchain:add("mxflags", "-fobjc-arc") -- init flags for asm toolchain:add("asflags", "-arch", arch, target_minver_flags, "-isysroot", xcode_sysroot) |
