diff options
| author | ruki <[email protected]> | 2022-08-04 22:57:08 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-08-04 22:57:08 +0800 |
| commit | 339c50ca90f0f4fac4c8f3083386eb770f18f06a (patch) | |
| tree | a4446813035d331dcc9a87454ab5ffad202236e3 /xmake/rules/c++/modules | |
| parent | 18d9a291ea2988fcef98d754b11824f2567c1020 (diff) | |
fix typo
Diffstat (limited to 'xmake/rules/c++/modules')
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/clang.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/c++/modules/modules_support/clang.lua b/xmake/rules/c++/modules/modules_support/clang.lua index ae6eaf3cc..0095444ed 100644 --- a/xmake/rules/c++/modules/modules_support/clang.lua +++ b/xmake/rules/c++/modules/modules_support/clang.lua @@ -333,7 +333,7 @@ function get_emitmoduleflag(target) if emitmoduleflag == nil then local compinst = target:compiler("cxx") if compinst:has_flags("-emit-module", "cxxflags", {flagskey = "clang_emit_module"}) then - emitmoduleflag = " -emit-module" + emitmoduleflag = "-emit-module" end assert(emitmoduleflag, "compiler(clang): does not support c++ module!") _g.emitmoduleflag = emitmoduleflag or false |
