summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-06-03 23:12:48 +0800
committerGitHub <[email protected]>2021-06-03 23:12:48 +0800
commit1f13741af7e4d8416f86580ca314c849d9e15625 (patch)
tree9e6cb8a0558de2ee8b7418d663bdfcbab71f6231
parent34150862caa0fb8f01d9e607e07093773363a927 (diff)
parent0ebe34dad5252af54d8b42459beec718d692064c (diff)
Merge pull request #1439 from SirLynix/patch-4
Disable -fsanitize=address for MSVC linker
-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