summaryrefslogtreecommitdiff
path: root/xmake/toolchains/gnu-rm/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-10-06 23:39:01 +0800
committerruki <[email protected]>2020-10-06 23:39:01 +0800
commit17b71915bd116b542447a9243dd9210beff1ccab (patch)
tree578a8b20d808f9cb8e0a9023325b079569d24c77 /xmake/toolchains/gnu-rm/xmake.lua
parent0ac1100e050d8f2a2aa0ea8f431b0be66af53b58 (diff)
improve toolchain flags order
Diffstat (limited to 'xmake/toolchains/gnu-rm/xmake.lua')
-rw-r--r--xmake/toolchains/gnu-rm/xmake.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/toolchains/gnu-rm/xmake.lua b/xmake/toolchains/gnu-rm/xmake.lua
index 5881079e1..cb32d218a 100644
--- a/xmake/toolchains/gnu-rm/xmake.lua
+++ b/xmake/toolchains/gnu-rm/xmake.lua
@@ -74,6 +74,5 @@ toolchain("gnu-rm")
-- add basic flags
toolchain:add("ldflags", "--specs=nosys.specs", "--specs=nano.specs", {force = true})
toolchain:add("shflags", "--specs=nosys.specs", "--specs=nano.specs", {force = true})
- toolchain:add("ldflags", "-Wl,--start-group", "-lc", "-lm", "-Wl,--end-group", {force = true})
- toolchain:add("shflags", "-Wl,--start-group", "-lc", "-lm", "-Wl,--end-group", {force = true})
+ toolchain:add("syslinks", "c", "m")
end)