diff options
| author | Arthur LAURENT <[email protected]> | 2025-11-01 22:51:47 +0100 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2025-11-01 22:51:47 +0100 |
| commit | 567fa9050bc8cec0c527e0cc28eb30afd179dfd6 (patch) | |
| tree | 70c255a3f791d9978039b1245d672867dc3ab8fa /xmake/rules/c++/modules | |
| parent | b3a2dba93a185f205dbd18a154e42da72fdd4881 (diff) | |
fix(modules) strip sanitizers flags for module reusage
Diffstat (limited to 'xmake/rules/c++/modules')
| -rw-r--r-- | xmake/rules/c++/modules/clang/support.lua | 1 | ||||
| -rw-r--r-- | xmake/rules/c++/modules/gcc/support.lua | 3 | ||||
| -rw-r--r-- | xmake/rules/c++/modules/msvc/support.lua | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/xmake/rules/c++/modules/clang/support.lua b/xmake/rules/c++/modules/clang/support.lua index faebd5213..9dec0a1e7 100644 --- a/xmake/rules/c++/modules/clang/support.lua +++ b/xmake/rules/c++/modules/clang/support.lua @@ -131,6 +131,7 @@ function strippeable_flags() "Q", "fmodule-file", "fPIC", + "fsanitize" } local splitted_strippeable_flags = { "I", diff --git a/xmake/rules/c++/modules/gcc/support.lua b/xmake/rules/c++/modules/gcc/support.lua index 2f7ec8bc7..df0478c46 100644 --- a/xmake/rules/c++/modules/gcc/support.lua +++ b/xmake/rules/c++/modules/gcc/support.lua @@ -90,7 +90,8 @@ function strippeable_flags() "fmodule-mapper", "fmodules-ts", "fmodules", - "fPIC" + "fPIC", + "fsanitize" } local splitted_strippeable_flags = { "I", diff --git a/xmake/rules/c++/modules/msvc/support.lua b/xmake/rules/c++/modules/msvc/support.lua index b83cad213..ab2f35ab5 100644 --- a/xmake/rules/c++/modules/msvc/support.lua +++ b/xmake/rules/c++/modules/msvc/support.lua @@ -91,6 +91,7 @@ function strippeable_flags() "analyze", "?", "external", + "fsanitize" } local splitted_strippeable_flags = { "Fo", |
