diff options
| author | Arthur LAURENT <[email protected]> | 2024-07-22 15:21:28 +0200 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2024-07-22 15:21:28 +0200 |
| commit | bbe7745ad8ccde3f39f1c1e468fd2d96ca7cb3f5 (patch) | |
| tree | 7b888ca80f88c9fdc26954066247f677cfd32c7e /xmake/rules/c++/modules/modules_support | |
| parent | 45852e6ffcd3f043d961574e72f40d287a2898ab (diff) | |
strip -fmodule-mapper for GCC module reusage flag compatibility detection
Diffstat (limited to 'xmake/rules/c++/modules/modules_support')
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/gcc/compiler_support.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/rules/c++/modules/modules_support/gcc/compiler_support.lua b/xmake/rules/c++/modules/modules_support/gcc/compiler_support.lua index 2253c9866..25e047f8a 100644 --- a/xmake/rules/c++/modules/modules_support/gcc/compiler_support.lua +++ b/xmake/rules/c++/modules/modules_support/gcc/compiler_support.lua @@ -77,6 +77,7 @@ function strip_flags(target, flags) "-w", "-cxx-isystem", "-Q", + "-fmodule-mapper", } if not target:policy("build.c++.modules.tryreuse.discriminate_on_defines") then table.join2(strippable_flags, {"-D", "-U"}) |
