diff options
| author | ruki <[email protected]> | 2021-09-04 00:58:26 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-09-04 00:58:26 +0800 |
| commit | c4b3c9836293e77fcfc87b3e8f788cc974b1e59a (patch) | |
| tree | ce9d93b6a99b750d31d73982e929f16e122a3cb6 /xmake/toolchains | |
| parent | 836284af26a6d4edb1670cd6266d31c16b43ba2c (diff) | |
add pascal shared template
Diffstat (limited to 'xmake/toolchains')
| -rw-r--r-- | xmake/toolchains/fpc/xmake.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/toolchains/fpc/xmake.lua b/xmake/toolchains/fpc/xmake.lua index 82c7f6dc8..0d9cba292 100644 --- a/xmake/toolchains/fpc/xmake.lua +++ b/xmake/toolchains/fpc/xmake.lua @@ -35,4 +35,7 @@ toolchain("fpc") on_load(function (toolchain) toolchain:set("pcshflags", "-Sd") toolchain:set("pcldflags", "-Sd") + if toolchain:is_plat("linux") then + toolchain:add("pcldflags", "-k-lc") + end end) |
