summaryrefslogtreecommitdiff
path: root/xmake/toolchains/fpc/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-09-02 23:34:28 +0800
committerruki <[email protected]>2021-09-02 23:34:28 +0800
commitb47154e928d5fa960365a205420912ae1363ba53 (patch)
tree53d42d5a36a0391fd78a09f69503ca44bb1ee3a2 /xmake/toolchains/fpc/xmake.lua
parentae7c9e6398f72b314d6601a324d5fbf3829c547b (diff)
use build mode for fpc
Diffstat (limited to 'xmake/toolchains/fpc/xmake.lua')
-rw-r--r--xmake/toolchains/fpc/xmake.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/xmake/toolchains/fpc/xmake.lua b/xmake/toolchains/fpc/xmake.lua
index b59f21376..5fab445af 100644
--- a/xmake/toolchains/fpc/xmake.lua
+++ b/xmake/toolchains/fpc/xmake.lua
@@ -27,9 +27,12 @@ toolchain("fpc")
-- set toolset
set_toolset("pc", "$(env PC)", "fpc")
--- set_toolset("pcld", "$(env PC)", "fpc")
--- set_toolset("pcsh", "$(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", "")
end)