diff options
| author | ruki <[email protected]> | 2022-05-15 21:02:30 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-05-15 21:02:30 +0800 |
| commit | ddbdfb0766c9e8e5ea5d57091f0e3a8a29f6078e (patch) | |
| tree | d8ec0a9168e8f1cfecdb622ce9d677ad495fbe67 | |
| parent | acfd4ffdde7051c542840330a246e745268ab157 (diff) | |
use iorunv for distcc
| -rw-r--r-- | xmake/modules/private/service/distcc_build/server_session.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/private/service/distcc_build/server_session.lua b/xmake/modules/private/service/distcc_build/server_session.lua index afe8883ca..5703b98a9 100644 --- a/xmake/modules/private/service/distcc_build/server_session.lua +++ b/xmake/modules/private/service/distcc_build/server_session.lua @@ -208,7 +208,7 @@ end function server_session:_gcc_compile(toolname, flags, sourcefile, objectfile, opt) local program, toolname_real, runenvs = self:_tool(opt.toolchain, opt) assert(toolname_real == toolname, "toolname is not matched, %s != %s", toolname, toolname_real) - os.vrunv(program, table.join(flags, "-o", objectfile, sourcefile), {envs = runenvs}) + os.iorunv(program, table.join(flags, "-o", objectfile, sourcefile), {envs = runenvs}) end -- do compile job for g++ @@ -230,7 +230,7 @@ end function server_session:_cl_compile(toolname, flags, sourcefile, objectfile, opt) local program, toolname_real, runenvs = self:_tool(opt.toolchain, opt) assert(toolname_real == toolname, "toolname is not matched, %s != %s", toolname, toolname_real) - vstool.runv(program, table.join(flags, "-Fo" .. objectfile, sourcefile), {envs = runenvs}) + vstool.iorunv(program, table.join(flags, "-Fo" .. objectfile, sourcefile), {envs = runenvs}) end function server_session:__tostring() |
