Mercurial > hg > truffle
diff make/windows/makefiles/compile.make @ 2308:99bd05619fa4
7017110: Add /SAFESEH to links on windows 32bit to verify safe exceptions
Summary: Ensure safe exception handler table is generated on Win32 binaries when compile with VS2010
Reviewed-by: acorn, coleenp, dcubed, sla, ohair
author | zgu |
---|---|
date | Wed, 02 Mar 2011 09:16:18 -0500 |
parents | 15d6977f04b0 |
children | 5def270bc147 |
line wrap: on
line diff
--- a/make/windows/makefiles/compile.make Wed Mar 02 09:41:26 2011 +0100 +++ b/make/windows/makefiles/compile.make Wed Mar 02 09:16:18 2011 -0500 @@ -207,6 +207,9 @@ # Manifest Tool - used in VS2005 and later to adjust manifests stored # as resources inside build artifacts. MT=mt.exe +!if "$(BUILDARCH)" == "i486" +LINK_FLAGS = /SAFESEH $(LINK_FLAGS) +!endif !endif # Compile for space above time.