summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérôme Leclercq <[email protected]>2021-06-03 15:14:02 +0200
committerGitHub <[email protected]>2021-06-03 15:14:02 +0200
commit0ebe34dad5252af54d8b42459beec718d692064c (patch)
tree9e6cb8a0558de2ee8b7418d663bdfcbab71f6231
parent34150862caa0fb8f01d9e607e07093773363a927 (diff)
Disable -fsanitize=address for MSVC linker
With MSVC, ASAN is a compile-only option See https://bugzilla.mozilla.org/show_bug.cgi?id=1307547
-rw-r--r--xmake/modules/core/tools/link.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/link.lua b/xmake/modules/core/tools/link.lua
index e7e1596f5..b5ee775af 100644
--- a/xmake/modules/core/tools/link.lua
+++ b/xmake/modules/core/tools/link.lua
@@ -43,6 +43,7 @@ function init(self)
-- others
, ["-ftrapv"] = ""
+ , ["-fsanitize=address"] = ""
})
end