diff options
| -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", |
