summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-01-25 00:50:30 +0800
committerruki <[email protected]>2025-01-25 00:50:30 +0800
commit512fe920b09fed3611a41227ba09ad92c40bc6b3 (patch)
tree70a7be041742da7b588dd853f37e6b98ef4b6144
parentdb6074a3f94d5af4bd79ecfbf6d58f7ede2bf8c7 (diff)
improve my-c6000
-rw-r--r--tests/apis/custom_toolchain/toolchains/my-c6000/xmake.lua9
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/apis/custom_toolchain/toolchains/my-c6000/xmake.lua b/tests/apis/custom_toolchain/toolchains/my-c6000/xmake.lua
index 8298b33c9..2de2275a7 100644
--- a/tests/apis/custom_toolchain/toolchains/my-c6000/xmake.lua
+++ b/tests/apis/custom_toolchain/toolchains/my-c6000/xmake.lua
@@ -16,12 +16,5 @@ toolchain("my-c6000")
end)
on_load(function (toolchain)
- local march = "-mv64+"
- if march then
- toolchain:add("cxflags", march)
- toolchain:add("mxflags", march)
- toolchain:add("asflags", march)
- toolchain:add("ldflags", march)
- toolchain:add("shflags", march)
- end
+ toolchain:add("cxflags", "-Dxxx")
end)