From 2728a2c821de5fb2e9567fea74ca38a81e5cfea0 Mon Sep 17 00:00:00 2001 From: Arthur LAURENT Date: Sun, 4 Feb 2024 16:47:25 +0100 Subject: fix gcc module compilation --- xmake/rules/c++/modules/modules_support/gcc/builder.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/rules/c++/modules/modules_support/gcc/builder.lua b/xmake/rules/c++/modules/modules_support/gcc/builder.lua index db0ea3958..7e96c3fcc 100644 --- a/xmake/rules/c++/modules/modules_support/gcc/builder.lua +++ b/xmake/rules/c++/modules/modules_support/gcc/builder.lua @@ -241,7 +241,7 @@ function make_module_buildjobs(target, batchjobs, job_name, deps, opt) dependinfo.files = {} local depvalues = {compinst:program(), compflags} - if opt.build then + if build then -- compile if it's a named module if provide or compiler_support.has_module_extension(opt.cppfile) then progress.show((index * 100) / total, "${color.build.target}<%s> ${clear}${color.build.object}compiling.module.$(mode) %s", target:name(), name or opt.cppfile) -- cgit v1.3.1