Mercurial > hg > graal-compiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
2306:5584e20db481 | 2308:99bd05619fa4 |
---|---|
205 GX_OPTION = /EHsc | 205 GX_OPTION = /EHsc |
206 LINK_FLAGS = /manifest $(LINK_FLAGS) | 206 LINK_FLAGS = /manifest $(LINK_FLAGS) |
207 # Manifest Tool - used in VS2005 and later to adjust manifests stored | 207 # Manifest Tool - used in VS2005 and later to adjust manifests stored |
208 # as resources inside build artifacts. | 208 # as resources inside build artifacts. |
209 MT=mt.exe | 209 MT=mt.exe |
210 !if "$(BUILDARCH)" == "i486" | |
211 LINK_FLAGS = /SAFESEH $(LINK_FLAGS) | |
212 !endif | |
210 !endif | 213 !endif |
211 | 214 |
212 # Compile for space above time. | 215 # Compile for space above time. |
213 !if "$(Variant)" == "kernel" | 216 !if "$(Variant)" == "kernel" |
214 PRODUCT_OPT_OPTION = /O1 /Oy- | 217 PRODUCT_OPT_OPTION = /O1 /Oy- |