summaryrefslogtreecommitdiff
path: root/xmake/modules
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2025-04-20 18:23:54 +0200
committerArthur LAURENT <[email protected]>2025-04-20 18:23:54 +0200
commita1fefbea336ad2294b853059d32850877f54bb90 (patch)
tree532fb41683d4e8024897e5d246fa951a3ebaab1f /xmake/modules
parentedf1f0b82e739e1024b34f112fba51bc61444c65 (diff)
(C++ modules) simplify names of module support
Diffstat (limited to 'xmake/modules')
-rw-r--r--xmake/modules/core/tools/gcc.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua
index 06b7086aa..ed6bbcf22 100644
--- a/xmake/modules/core/tools/gcc.lua
+++ b/xmake/modules/core/tools/gcc.lua
@@ -31,7 +31,7 @@ import("core.language.language")
import("utils.progress")
import("private.cache.build_cache")
import("private.service.distcc_build.client", {alias = "distcc_build_client"})
-import("rules.c++.modules.compiler_support", {rootdir = os.programdir()})
+import("rules.c++.modules.support", {rootdir = os.programdir()})
function init(self)
@@ -923,7 +923,7 @@ function compargv(self, sourcefile, objectfile, flags, opt)
local extension = path.extension(sourcefile)
if (extension:startswith(".h") or extension == ".inl") then
flags = _translate_flags_for_pch(self, flags)
- elseif compiler_support.has_module_extension(sourcefile, {extension = extension}) then
+ elseif support.has_module_extension(sourcefile, {extension = extension}) then
flags = _translate_flags_for_mpp(self, flags)
end