mirror of
https://github.com/python/cpython.git
synced 2025-11-28 22:18:54 +00:00
Merge 53501 and 53502 from 25 branch:
Add /GS- for AMD64 and Itanium builds where missing.
This commit is contained in:
parent
1b0ce85271
commit
cc0eba9d98
17 changed files with 21 additions and 19 deletions
|
|
@ -130,7 +130,7 @@
|
|||
ATLMinimizesCRunTimeLibraryUsage="FALSE">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM /GS-"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="..\Include;..\PC;"..\..\db-4.4.20\build_win32""
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@
|
|||
ATLMinimizesCRunTimeLibraryUsage="FALSE">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM /GS-"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="..\Include,..\PC,..\Modules\expat"
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@
|
|||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM /GS-"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="..\Include,..\PC"
|
||||
|
|
@ -150,7 +150,7 @@
|
|||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions=" /MACHINE:IA64 /USELINK:MS_SDK"
|
||||
AdditionalDependencies="fci.lib msi.lib rpcrt4.lib"
|
||||
AdditionalDependencies="fci.lib msi.lib rpcrt4.lib bufferoverflowU.lib"
|
||||
OutputFile="./_msi.pyd"
|
||||
LinkIncremental="1"
|
||||
SuppressStartupBanner="TRUE"
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@
|
|||
ATLMinimizesCRunTimeLibraryUsage="FALSE">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM /GS-"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="..\Include,..\PC"
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@
|
|||
ATLMinimizesCRunTimeLibraryUsage="FALSE">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM /GS-"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="..\Include;..\PC;..\..\sqlite-source-3.3.4"
|
||||
|
|
@ -193,7 +193,7 @@
|
|||
ATLMinimizesCRunTimeLibraryUsage="FALSE">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalOptions=" /USECL:MS_OPTERON"
|
||||
AdditionalOptions=" /USECL:MS_OPTERON /GS-"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="..\Include;..\PC;..\..\sqlite-source-3.3.4"
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ _ssl$(SUFFIX): $(SSL_SOURCE) $(SSL_LIB_DIR)/libeay32.lib $(SSL_LIB_DIR)/ssleay32
|
|||
|
||||
_hashlib$(SUFFIX): $(HASH_SOURCE) $(SSL_LIB_DIR)/libeay32.lib ../PC/*.h ../Include/*.h
|
||||
@if not exist "$(TEMP)/_hashlib/." mkdir "$(TEMP)/_hashlib"
|
||||
cl /nologo /c $(HASH_SOURCE) $(CFLAGS) /Fo$(TEMP)\_hashlib\$*.obj $(INCLUDES)
|
||||
cl /nologo /c $(HASH_SOURCE) $(CFLAGS) $(EXTRA_CFLAGS) /Fo$(TEMP)\_hashlib\$*.obj $(INCLUDES)
|
||||
link /nologo @<<
|
||||
/dll /out:_hashlib$(SUFFIX) $(HASH_LIBS) $(TEMP)\_hashlib\$*.obj
|
||||
<<
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@
|
|||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM /GS-"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="..\Include,..\PC"
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@
|
|||
ATLMinimizesCRunTimeLibraryUsage="FALSE">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM /GS-"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="..\..\tcltk\include,..\Include,..\PC"
|
||||
|
|
|
|||
|
|
@ -169,6 +169,8 @@ def main():
|
|||
defs = "SSL_DIR=\"%s\"" % (ssl_dir,)
|
||||
if debug:
|
||||
defs = defs + " " + "DEBUG=1"
|
||||
if arch in ('amd64', 'ia64'):
|
||||
defs = defs + " EXTRA_CFLAGS=/GS-"
|
||||
makeCommand = 'nmake /nologo -f _ssl.mak ' + defs + " " + make_flags
|
||||
print "Executing:", makeCommand
|
||||
sys.stdout.flush()
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ nmake /nologo /f makefile.msc lib
|
|||
ATLMinimizesCRunTimeLibraryUsage="FALSE">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM /GS-"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="..\Include,..\PC,..\..\bzip2-1.0.3"
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@
|
|||
ATLMinimizesCRunTimeLibraryUsage="FALSE">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM /GS-"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="..\Include,..\PC,..\Modules\expat"
|
||||
|
|
@ -189,7 +189,7 @@
|
|||
ATLMinimizesCRunTimeLibraryUsage="FALSE">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalOptions=" /USECL:MS_OPTERON"
|
||||
AdditionalOptions=" /USECL:MS_OPTERON /GS-"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="..\Include,..\PC,..\Modules\expat"
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@
|
|||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM /VSEXTCOMP_VERBOSE"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM /GS-"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="..\Include,..\PC"
|
||||
|
|
|
|||
|
|
@ -144,7 +144,7 @@
|
|||
ATLMinimizesCRunTimeLibraryUsage="FALSE">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM /GS-"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="..\Include,..\PC"
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@
|
|||
ATLMinimizesCRunTimeLibraryUsage="FALSE">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM /GS-"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="..\Include,..\PC"
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@
|
|||
ATLMinimizesCRunTimeLibraryUsage="FALSE">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM /GS-"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="..\Include,..\PC"
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@
|
|||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM /GS-"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="..\Include,..\PC"
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@
|
|||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM"
|
||||
AdditionalOptions=" /USECL:MS_ITANIUM /GS-"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="..\Include,..\PC"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue