diff options
| author | Arthur LAURENT <[email protected]> | 2024-01-31 15:30:54 +0100 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2024-01-31 15:30:54 +0100 |
| commit | 7dbdcf99b58ff044578298d2a73958fa695c70e4 (patch) | |
| tree | 96491b04e54727387296b50253e2757035978df8 /xmake/rules/c++/modules/modules_support | |
| parent | 9b378dde3163609b41846c497c72cf5fed1cc167 (diff) | |
remove useless path.translate
Diffstat (limited to 'xmake/rules/c++/modules/modules_support')
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/gcc/dependency_scanner.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/c++/modules/modules_support/gcc/dependency_scanner.lua b/xmake/rules/c++/modules/modules_support/gcc/dependency_scanner.lua index a939cb0a0..982eae960 100644 --- a/xmake/rules/c++/modules/modules_support/gcc/dependency_scanner.lua +++ b/xmake/rules/c++/modules/modules_support/gcc/dependency_scanner.lua @@ -49,7 +49,7 @@ function generate_dependencies(target, sourcebatch, opt) local dfile = path.translate(path.join(outputdir, path.filename(sourcefile) .. ".d")) local compflags = compinst:compflags({sourcefile = sourcefile, target = target}) local flags = table.join(compflags or {}, baselineflags, {sourcefile, "-MT", jsonfile, "-MD", "-MF", dfile, depsformatflag, depsfileflag .. jsonfile, depstargetflag .. target:objectfile(sourcefile), "-o", ifile}) - os.vrunv(path.translate(compinst:program()), flags) + os.vrunv(compinst:program(), flags) os.rm(ifile) os.rm(dfile) else |
