make/windows/makefiles/compile.make

changeset 1094
520d43965b1f
parent 1080
c3a720eefe82
child 1279
bd02caa94611
equal deleted inserted replaced
1093:fe62b51b93f4 1094:520d43965b1f
168 BUFFEROVERFLOWLIB = bufferoverflowU.lib 168 BUFFEROVERFLOWLIB = bufferoverflowU.lib
169 LINK_FLAGS = /manifest $(LINK_FLAGS) $(BUFFEROVERFLOWLIB) 169 LINK_FLAGS = /manifest $(LINK_FLAGS) $(BUFFEROVERFLOWLIB)
170 # Manifest Tool - used in VS2005 and later to adjust manifests stored 170 # Manifest Tool - used in VS2005 and later to adjust manifests stored
171 # as resources inside build artifacts. 171 # as resources inside build artifacts.
172 MT=mt.exe 172 MT=mt.exe
173 # VS2005 and later restricts the use of certain libc functions without this
174 CPP_FLAGS=$(CPP_FLAGS) /D _CRT_SECURE_NO_DEPRECATE
175 !endif 173 !endif
176 174
177 !if "$(COMPILER_NAME)" == "VS2008" 175 !if "$(COMPILER_NAME)" == "VS2008"
178 PRODUCT_OPT_OPTION = /O2 /Oy- 176 PRODUCT_OPT_OPTION = /O2 /Oy-
179 FASTDEBUG_OPT_OPTION = /O2 /Oy- 177 FASTDEBUG_OPT_OPTION = /O2 /Oy-
181 GX_OPTION = /EHsc 179 GX_OPTION = /EHsc
182 LINK_FLAGS = /manifest $(LINK_FLAGS) 180 LINK_FLAGS = /manifest $(LINK_FLAGS)
183 # Manifest Tool - used in VS2005 and later to adjust manifests stored 181 # Manifest Tool - used in VS2005 and later to adjust manifests stored
184 # as resources inside build artifacts. 182 # as resources inside build artifacts.
185 MT=mt.exe 183 MT=mt.exe
186 # VS2005 and later restricts the use of certain libc functions without this
187 CPP_FLAGS=$(CPP_FLAGS) /D _CRT_SECURE_NO_DEPRECATE
188 !endif 184 !endif
189 185
190 # Compile for space above time. 186 # Compile for space above time.
191 !if "$(Variant)" == "kernel" 187 !if "$(Variant)" == "kernel"
192 PRODUCT_OPT_OPTION = /O1 /Oy- 188 PRODUCT_OPT_OPTION = /O1 /Oy-

mercurial