diff options
| author | Arthur LAURENT <[email protected]> | 2023-02-15 18:29:10 +0100 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2023-02-15 18:29:10 +0100 |
| commit | 0765350a8935fe493e0846543081dc29463ea953 (patch) | |
| tree | c1b639ff784884253541b4ab189d460293e3829d /xmake/rules/c++/modules | |
| parent | f6b9179af9ff16461e023f00ef10535b6e575ced (diff) | |
fix clang module vprint
Diffstat (limited to 'xmake/rules/c++/modules')
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/clang.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/c++/modules/modules_support/clang.lua b/xmake/rules/c++/modules/modules_support/clang.lua index d505d779c..3d45fd43f 100644 --- a/xmake/rules/c++/modules/modules_support/clang.lua +++ b/xmake/rules/c++/modules/modules_support/clang.lua @@ -246,7 +246,7 @@ function _build_modulefile(target, sourcefile, opt) end compileflags = table.join2(compileflags, compflags, common_args, requiresflags or {}) - vprint(compinst:compcmd(bmifile or sourcefile, objectfile, {compflags = compileflags, rawargs = true})) + vprint(compinst:compcmd(bmiflags and bmifile or sourcefile, objectfile, {compflags = compileflags, rawargs = true})) if not dryrun then |
