diff options
| author | ruki <[email protected]> | 2024-01-22 22:44:25 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-01-25 12:09:58 +0800 |
| commit | 9f76e77a010c835f17a8a4ed65254df84e38d7e7 (patch) | |
| tree | d236177e6d19332da968f81fdcf955ac600ba52c /xmake/toolchains/xcode/load_watchos.lua | |
| parent | a74bb4c14a8eda9c70062c1c6f592f2474672b71 (diff) | |
remove stdc++ for apple os
Diffstat (limited to 'xmake/toolchains/xcode/load_watchos.lua')
| -rw-r--r-- | xmake/toolchains/xcode/load_watchos.lua | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/xmake/toolchains/xcode/load_watchos.lua b/xmake/toolchains/xcode/load_watchos.lua index a727776bd..cceabeb02 100644 --- a/xmake/toolchains/xcode/load_watchos.lua +++ b/xmake/toolchains/xcode/load_watchos.lua @@ -18,10 +18,6 @@ -- @file load_watchos.lua -- --- imports -import("core.project.config") - --- main entry function main(toolchain) -- init architecture @@ -38,8 +34,8 @@ function main(toolchain) -- init flags for c/c++ toolchain:add("cxflags", "-arch", arch, target_minver_flags, "-isysroot", xcode_sysroot) - toolchain:add("ldflags", "-arch", arch, "-ObjC", "-lstdc++", "-fobjc-link-runtime", target_minver_flags, "-isysroot", xcode_sysroot) - toolchain:add("shflags", "-arch", arch, "-ObjC", "-lstdc++", "-fobjc-link-runtime", target_minver_flags, "-isysroot", xcode_sysroot) + toolchain:add("ldflags", "-arch", arch, "-ObjC", "-fobjc-link-runtime", target_minver_flags, "-isysroot", xcode_sysroot) + toolchain:add("shflags", "-arch", arch, "-ObjC", "-fobjc-link-runtime", target_minver_flags, "-isysroot", xcode_sysroot) -- init flags for objc/c++ toolchain:add("mxflags", "-arch", arch, target_minver_flags, "-isysroot", xcode_sysroot) |
