From 7dbdcf99b58ff044578298d2a73958fa695c70e4 Mon Sep 17 00:00:00 2001 From: Arthur LAURENT Date: Wed, 31 Jan 2024 15:30:54 +0100 Subject: remove useless path.translate --- xmake/rules/c++/modules/modules_support/gcc/dependency_scanner.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3.1