diff options
| author | Arthur LAURENT <[email protected]> | 2025-05-11 22:04:11 +0200 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2025-05-11 22:04:11 +0200 |
| commit | 406aa7ca454fad3ef8872070cbac6efdd7d440e7 (patch) | |
| tree | 981e5a93416263194a4a0f82ba7c35560adee57d /xmake/rules/c++/modules/msvc/builder.lua | |
| parent | 22fcfc64078f4ad04a9ecf5af30adaf7dae199e5 (diff) | |
(C++ modules support) make flag order coherent between different compilers
Diffstat (limited to 'xmake/rules/c++/modules/msvc/builder.lua')
| -rw-r--r-- | xmake/rules/c++/modules/msvc/builder.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/c++/modules/msvc/builder.lua b/xmake/rules/c++/modules/msvc/builder.lua index 082bdd71e..acf3cb984 100644 --- a/xmake/rules/c++/modules/msvc/builder.lua +++ b/xmake/rules/c++/modules/msvc/builder.lua @@ -129,7 +129,7 @@ function _batchcmds_compile(batchcmds, target, flags, sourcefile, outputfile) opt = opt or {} local compinst = target:compiler("cxx") local compflags = compinst:compflags({sourcefile = sourcefile, target = target, sourcekind = "cxx"}) - flags = table.join("/c", compflags or {}, outputfile and "-Fo" .. outputfile or {}, flags or {}, sourcefile or {}) + flags = table.join("/c", compflags or {}, flags or {}, outputfile and "-Fo" .. outputfile or {}, sourcefile or {}) batchcmds:compilev(flags, {compiler = compinst, sourcekind = "cxx"}) end |
