summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/gcc.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-10-15 00:55:31 +0800
committerruki <[email protected]>2024-10-15 00:55:31 +0800
commit7fa81fa0ac749aae01627daf073e195c1e917d1a (patch)
treed9247612c6ff40386681ded218061803820de26c /xmake/modules/core/tools/gcc.lua
parente0017bacc10923be9f179fce68aeb6cee971ef4a (diff)
support to parse include deps for sdcc
Diffstat (limited to 'xmake/modules/core/tools/gcc.lua')
-rw-r--r--xmake/modules/core/tools/gcc.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua
index c04d06e8a..ebc553117 100644
--- a/xmake/modules/core/tools/gcc.lua
+++ b/xmake/modules/core/tools/gcc.lua
@@ -866,12 +866,9 @@ end
-- compile the source file
function compile(self, sourcefile, objectfile, dependinfo, flags, opt)
-
- -- ensure the object directory
+ opt = opt or {}
os.mkdir(path.directory(objectfile))
- -- compile it
- opt = opt or {}
local depfile = dependinfo and os.tmpfile() or nil
try
{