summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/gcc/support.lua
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2025-11-01 22:51:47 +0100
committerArthur LAURENT <[email protected]>2025-11-01 22:51:47 +0100
commit567fa9050bc8cec0c527e0cc28eb30afd179dfd6 (patch)
tree70c255a3f791d9978039b1245d672867dc3ab8fa /xmake/rules/c++/modules/gcc/support.lua
parentb3a2dba93a185f205dbd18a154e42da72fdd4881 (diff)
fix(modules) strip sanitizers flags for module reusage
Diffstat (limited to 'xmake/rules/c++/modules/gcc/support.lua')
-rw-r--r--xmake/rules/c++/modules/gcc/support.lua3
1 files changed, 2 insertions, 1 deletions
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",