make/windows/makefiles/compile.make

changeset 5877
7638e35cabc6
parent 5417
33c52908bcdb
child 5882
1a93f2c5945a
equal deleted inserted replaced
5876:8f3c59225a5c 5877:7638e35cabc6
178 178
179 !if "$(COMPILER_NAME)" == "VS2003" 179 !if "$(COMPILER_NAME)" == "VS2003"
180 PRODUCT_OPT_OPTION = /O2 /Oy- 180 PRODUCT_OPT_OPTION = /O2 /Oy-
181 FASTDEBUG_OPT_OPTION = /O2 /Oy- 181 FASTDEBUG_OPT_OPTION = /O2 /Oy-
182 DEBUG_OPT_OPTION = /Od 182 DEBUG_OPT_OPTION = /Od
183 SAFESEH_FLAG = /SAFESEH
183 !endif 184 !endif
184 185
185 !if "$(COMPILER_NAME)" == "VS2005" 186 !if "$(COMPILER_NAME)" == "VS2005"
186 PRODUCT_OPT_OPTION = /O2 /Oy- 187 PRODUCT_OPT_OPTION = /O2 /Oy-
187 FASTDEBUG_OPT_OPTION = /O2 /Oy- 188 FASTDEBUG_OPT_OPTION = /O2 /Oy-
196 # Manifest Tool - used in VS2005 and later to adjust manifests stored 197 # Manifest Tool - used in VS2005 and later to adjust manifests stored
197 # as resources inside build artifacts. 198 # as resources inside build artifacts.
198 !if "x$(MT)" == "x" 199 !if "x$(MT)" == "x"
199 MT=mt.exe 200 MT=mt.exe
200 !endif 201 !endif
202 SAFESEH_FLAG = /SAFESEH
201 !endif 203 !endif
202 204
203 !if "$(COMPILER_NAME)" == "VS2008" 205 !if "$(COMPILER_NAME)" == "VS2008"
204 PRODUCT_OPT_OPTION = /O2 /Oy- 206 PRODUCT_OPT_OPTION = /O2 /Oy-
205 FASTDEBUG_OPT_OPTION = /O2 /Oy- 207 FASTDEBUG_OPT_OPTION = /O2 /Oy-
209 # Manifest Tool - used in VS2005 and later to adjust manifests stored 211 # Manifest Tool - used in VS2005 and later to adjust manifests stored
210 # as resources inside build artifacts. 212 # as resources inside build artifacts.
211 !if "x$(MT)" == "x" 213 !if "x$(MT)" == "x"
212 MT=mt.exe 214 MT=mt.exe
213 !endif 215 !endif
216 SAFESEH_FLAG = /SAFESEH
214 !endif 217 !endif
215 218
216 !if "$(COMPILER_NAME)" == "VS2010" 219 !if "$(COMPILER_NAME)" == "VS2010"
217 PRODUCT_OPT_OPTION = /O2 /Oy- 220 PRODUCT_OPT_OPTION = /O2 /Oy-
218 FASTDEBUG_OPT_OPTION = /O2 /Oy- 221 FASTDEBUG_OPT_OPTION = /O2 /Oy-
238 # Manifest Tool - used in VS2005 and later to adjust manifests stored 241 # Manifest Tool - used in VS2005 and later to adjust manifests stored
239 # as resources inside build artifacts. 242 # as resources inside build artifacts.
240 !if "x$(MT)" == "x" 243 !if "x$(MT)" == "x"
241 MT=mt.exe 244 MT=mt.exe
242 !endif 245 !endif
246 SAFESEH_FLAG = /SAFESEH
247 !endif
248
243 !if "$(BUILDARCH)" == "i486" 249 !if "$(BUILDARCH)" == "i486"
244 LD_FLAGS = /SAFESEH $(LD_FLAGS) 250 LD_FLAGS = $(SAFESEH_FLAG) $(LD_FLAGS)
245 !endif
246 !endif 251 !endif
247 252
248 # If NO_OPTIMIZATIONS is defined in the environment, turn everything off 253 # If NO_OPTIMIZATIONS is defined in the environment, turn everything off
249 !ifdef NO_OPTIMIZATIONS 254 !ifdef NO_OPTIMIZATIONS
250 PRODUCT_OPT_OPTION = $(DEBUG_OPT_OPTION) 255 PRODUCT_OPT_OPTION = $(DEBUG_OPT_OPTION)

mercurial