From 0ebe34dad5252af54d8b42459beec718d692064c Mon Sep 17 00:00:00 2001 From: Jérôme Leclercq Date: Thu, 3 Jun 2021 15:14:02 +0200 Subject: Disable -fsanitize=address for MSVC linker With MSVC, ASAN is a compile-only option See https://bugzilla.mozilla.org/show_bug.cgi?id=1307547 --- xmake/modules/core/tools/link.lua | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.3.1