summaryrefslogtreecommitdiff
path: root/xmake/toolchains/fpc/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-09-04 22:15:23 +0800
committerruki <[email protected]>2021-09-04 22:15:23 +0800
commit718c75717bab367194ee3220cdef3d64f17962d8 (patch)
tree1d1489cea378e02750a4f4d046cf1353ef053730 /xmake/toolchains/fpc/xmake.lua
parent51860aa00956dd52121339229a5b71b4fc428a72 (diff)
remove static library for pascal
Diffstat (limited to 'xmake/toolchains/fpc/xmake.lua')
-rw-r--r--xmake/toolchains/fpc/xmake.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/xmake/toolchains/fpc/xmake.lua b/xmake/toolchains/fpc/xmake.lua
index d84a383cc..cb2855625 100644
--- a/xmake/toolchains/fpc/xmake.lua
+++ b/xmake/toolchains/fpc/xmake.lua
@@ -29,13 +29,10 @@ toolchain("fpc")
set_toolset("pc", "$(env PC)", "fpc")
set_toolset("pcld", "$(env PC)", "fpc")
set_toolset("pcsh", "$(env PC)", "fpc")
- set_toolset("pcar", "$(env PC)", "fpc")
-- on load
on_load(function (toolchain)
toolchain:set("pcshflags", "")
toolchain:set("pcldflags", "")
- if toolchain:is_plat("linux") then
- toolchain:add("pcldflags", "-k-lc")
- end
+ toolchain:add("syslinks", "c")
end)