diff options
| author | ruki <[email protected]> | 2020-05-18 22:57:44 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-05-18 11:46:26 +0800 |
| commit | 93db858087c1bdeba2585f2de409e53a8d8e8fbd (patch) | |
| tree | 7f696114cd6c2fd15f9dc9fdda7cdc1096366ec6 /xmake/toolchains/xcode/load_macosx.lua | |
| parent | 9aaf4d1f861acb3167ce101ddbf12a5f57b0392a (diff) | |
support watchos for xcode toolchain
Diffstat (limited to 'xmake/toolchains/xcode/load_macosx.lua')
| -rw-r--r-- | xmake/toolchains/xcode/load_macosx.lua | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/xmake/toolchains/xcode/load_macosx.lua b/xmake/toolchains/xcode/load_macosx.lua index b735b8d77..5cebd96bb 100644 --- a/xmake/toolchains/xcode/load_macosx.lua +++ b/xmake/toolchains/xcode/load_macosx.lua @@ -64,8 +64,6 @@ function main(toolchain) end -- init flags for asm --- toolchain:add("yasm.asflags", arch == "x86_64" and "macho64" or "macho32") --- toolchain:set("fasm.asflags", "") toolchain:add("asflags", "-arch " .. arch) if xcode_sdkdir then toolchain:add("asflags", "-isysroot " .. xcode_sdkdir) @@ -77,18 +75,4 @@ function main(toolchain) toolchain:add("scshflags", format("-target %s-apple-macosx%s", arch, target_minver) , "-sdk " .. xcode_sdkdir) toolchain:add("scldflags", format("-target %s-apple-macosx%s", arch, target_minver) , "-sdk " .. xcode_sdkdir) end - - --[[ - -- init flags for golang - toolchain:set("gcldflags", "") - - -- init flags for dlang - local dc_archs = { i386 = "-m32", x86_64 = "-m64" } - toolchain:add("dcflags", dc_archs[arch] or "") - toolchain:add("dcshflags", dc_archs[arch] or "") - toolchain:add("dcldflags", dc_archs[arch] or "" ) - - -- init flags for rust - toolchain:set("rcshflags", "") - toolchain:set("rcldflags", "")]] end |
