Skip to content

Commit

Permalink
update clang.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthapz committed Dec 1, 2022
1 parent 43a05c9 commit cd31898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake/rules/c++/modules/modules_support/clang.lua
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function generate_dependencies(target, sourcebatch, opt)
table.insert(defines, "-D" .. define)
end
local ifile = path.translate(path.join(outputdir, path.filename(file) .. ".i"))
os.vrunv(compinst:program(), table.join(defines, {"-E", "-x", "c++", file, "-o", ifile}))
os.vrunv(compinst:program(), table.join(defines, {"-E", "-x", "c++", file, "-o", ifile}))
return io.readfile(ifile)
end)
changed = true
Expand Down

0 comments on commit cd31898

Please sign in to comment.