summaryrefslogtreecommitdiff
path: root/xmake/scripts/platform/windows/tools/link.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-06-07 16:52:46 +0800
committerruki <[email protected]>2015-06-07 16:53:46 +0800
commit6e928d29aa3e30b92b6ad5b51edc105ec90b39ad (patch)
tree6d281e0d421dfd65fc0958ec31ac58cf3f097e68 /xmake/scripts/platform/windows/tools/link.lua
parentf254d7f88fbbb159593cdfbadffe98498b14870c (diff)
add ftrapv and address sanitizer
Diffstat (limited to 'xmake/scripts/platform/windows/tools/link.lua')
-rw-r--r--xmake/scripts/platform/windows/tools/link.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/scripts/platform/windows/tools/link.lua b/xmake/scripts/platform/windows/tools/link.lua
index 6b18a5e15..b550934c2 100644
--- a/xmake/scripts/platform/windows/tools/link.lua
+++ b/xmake/scripts/platform/windows/tools/link.lua
@@ -63,6 +63,9 @@ function link.init(name)
, ["-S"] = ""
, ["--strip-all"] = ""
, ["--strip-debug"] = ""
+
+ -- others
+ , ["-ftrapv"] = ""
}
end