diff options
| author | ruki <[email protected]> | 2024-10-15 00:55:31 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-10-15 00:55:31 +0800 |
| commit | 7fa81fa0ac749aae01627daf073e195c1e917d1a (patch) | |
| tree | d9247612c6ff40386681ded218061803820de26c /xmake/modules/core/tools/gcc.lua | |
| parent | e0017bacc10923be9f179fce68aeb6cee971ef4a (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.lua | 5 |
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 { |
