summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2026-01-24 21:07:24 +0800
committerruki <[email protected]>2026-01-24 21:07:24 +0800
commit4d40ef4dc24a62b0995bd7d13dab7d4fcad98f46 (patch)
tree986a98ae3aedbf25a554ea2593f0d195b44aa34e
parentdf870ffd7cf1b7c4cb5df311f437ffef03678178 (diff)
fix fpc
-rw-r--r--.github/workflows/cosmocc.yml4
-rw-r--r--xmake/modules/core/tools/fpc.lua4
2 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/cosmocc.yml b/.github/workflows/cosmocc.yml
index 5f4479561..4bcfa9a2c 100644
--- a/.github/workflows/cosmocc.yml
+++ b/.github/workflows/cosmocc.yml
@@ -55,8 +55,8 @@ jobs:
RUN_PROBABILITY: ${{ vars.COSMOCC_RUN_PROBABILITY || '0.5' }}
build:
- needs: check
- if: needs.check.outputs.should-run == 'true'
+ #needs: check
+ #if: needs.check.outputs.should-run == 'true'
strategy:
matrix:
os: [ubuntu-latest, macos-15-intel]
diff --git a/xmake/modules/core/tools/fpc.lua b/xmake/modules/core/tools/fpc.lua
index f207061dc..c08fcef14 100644
--- a/xmake/modules/core/tools/fpc.lua
+++ b/xmake/modules/core/tools/fpc.lua
@@ -151,7 +151,7 @@ function buildargv(self, sourcefiles, targetkind, targetfile, flags, opt)
end
-- build the target file
-function build(self, sourcefiles, targetkind, targetfile, flags)
+function build(self, sourcefiles, targetkind, targetfile, flags, opt)
os.mkdir(path.directory(targetfile))
- os.runv(buildargv(self, sourcefiles, targetkind, targetfile, flags))
+ os.runv(buildargv(self, sourcefiles, targetkind, targetfile, flags, opt))
end