diff options
| author | ruki <[email protected]> | 2023-09-15 11:17:12 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-09-15 11:17:12 +0800 |
| commit | f17932e4261b76b9f5e6b3ab4564711332f7c077 (patch) | |
| tree | 80bcadcd7c678412e4e40891b921575391106a5c | |
| parent | 63532f552099a0e3f29c7ebc497b6c15ab5bfcfe (diff) | |
Update gcc.lua
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/gcc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/c++/modules/modules_support/gcc.lua b/xmake/rules/c++/modules/modules_support/gcc.lua index 4fa92e4df..51d62d78d 100644 --- a/xmake/rules/c++/modules/modules_support/gcc.lua +++ b/xmake/rules/c++/modules/modules_support/gcc.lua @@ -514,7 +514,7 @@ function build_modules_for_batchcmds(target, batchcmds, objectfiles, modules, op local flags = {"-x", "c++", "-c", path(cppfile), "-o", path(objectfile)} batchcmds:show_progress(opt.progress, "${color.build.object}compiling.module.$(mode) %s", name or cppfile) batchcmds:mkdir(path.directory(objectfile)) - _batchcmds_compile(batchcmds, target, flags) + _batchcmds_compile(batchcmds, target, flags, cppfile) batchcmds:add_depfiles(cppfile) target:add("objectfiles", objectfile) if provide then |
