summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2024-01-31 15:27:32 +0100
committerArthur LAURENT <[email protected]>2024-01-31 15:27:32 +0100
commit9b378dde3163609b41846c497c72cf5fed1cc167 (patch)
tree01587e26ca3a514d38cd4f15a6436f4fb0c5d4b5
parentf17ccefcfc7265ba3fb6aa5e3540230d05dd8aa3 (diff)
cleanup
-rw-r--r--xmake/rules/c++/modules/modules_support/gcc/builder.lua1
-rw-r--r--xmake/rules/c++/modules/modules_support/msvc/builder.lua2
2 files changed, 0 insertions, 3 deletions
diff --git a/xmake/rules/c++/modules/modules_support/gcc/builder.lua b/xmake/rules/c++/modules/modules_support/gcc/builder.lua
index 7b382e130..d9ae60097 100644
--- a/xmake/rules/c++/modules/modules_support/gcc/builder.lua
+++ b/xmake/rules/c++/modules/modules_support/gcc/builder.lua
@@ -98,7 +98,6 @@ function _batchcmds_compile(batchcmds, target, flags, sourcefile)
end
function _module_map_cachekey(target)
-
local mode = config.mode()
return target:name() .. "module_mapper" .. (mode or "")
end
diff --git a/xmake/rules/c++/modules/modules_support/msvc/builder.lua b/xmake/rules/c++/modules/modules_support/msvc/builder.lua
index 7fc25a0a0..83d9513f2 100644
--- a/xmake/rules/c++/modules/modules_support/msvc/builder.lua
+++ b/xmake/rules/c++/modules/modules_support/msvc/builder.lua
@@ -39,7 +39,6 @@ function _make_modulebuildflags(target, provide, bmifile, sourcefile, objectfile
local ifconlyflag = compiler_support.get_ifconlyflag(target)
local interfaceflag = compiler_support.get_interfaceflag(target)
local internalpartitionflag = compiler_support.get_internalpartitionflag(target)
-
local objectfile_or_ifconlyflag = (opt.external and ifconlyflag) and ifconlyflag or "-Fo" .. objectfile
local flags
@@ -48,7 +47,6 @@ function _make_modulebuildflags(target, provide, bmifile, sourcefile, objectfile
else
flags = {"-TP", objectfile_or_ifconlyflag, "-c", sourcefile}
end
-
return flags
end