From 8b79f292fb7f41f424c4f02900082a5c9a71c0f4 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 21 Mar 2013 18:20:01 +0200 Subject: Fix x64 Windows build of python3 (no idea if it works) Change-Id: If8075a459acf4901ef451b24e54d88a8b68393f9 --- python3/python-3.3.0-msvc-x64.patch.1 | 133 ++++++++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) (limited to 'python3/python-3.3.0-msvc-x64.patch.1') diff --git a/python3/python-3.3.0-msvc-x64.patch.1 b/python3/python-3.3.0-msvc-x64.patch.1 index b23c04d86664..7071573c04ac 100644 --- a/python3/python-3.3.0-msvc-x64.patch.1 +++ b/python3/python-3.3.0-msvc-x64.patch.1 @@ -227,3 +227,136 @@ diff -ru python3/PCbuild/pcbuild.sln python3.new/PCbuild/pcbuild.sln {19C0C13F-47CA-4432-AFF3-799A296A4DDC}.Release|Win32.ActiveCfg = Release|Win32 {19C0C13F-47CA-4432-AFF3-799A296A4DDC}.Release|x64.ActiveCfg = Release|x64 EndGlobalSection +--- python3/PCbuild/make_buildinfo.vcxproj ++++ python3/PCbuild/make_buildinfo.vcxproj +@@ -5,6 +5,10 @@ + Release + Win32 + ++ ++ Release ++ x64 ++ + + + {C73F0EC1-358B-4177-940F-0846AC8B04CD} +@@ -16,6 +20,10 @@ + Application + NotSet + ++ ++ Application ++ NotSet ++ + + + +@@ -24,17 +32,38 @@ + + + ++ ++ ++ ++ ++ ++ + + + <_ProjectFileVersion>10.0.40219.1 + AllRules.ruleset + + ++ AllRules.ruleset ++ ++ + + + + Disabled + OnlyExplicitInline ++ _CONSOLE;%(PreprocessorDefinitions) ++ MultiThreaded ++ ++ ++ $(OutDir)make_buildinfo.exe ++ Console ++ ++ ++ ++ ++ Disabled ++ OnlyExplicitInline + _CONSOLE;%(PreprocessorDefinitions) + MultiThreaded + +--- python3/PCbuild/make_versioninfo.vcxproj ++++ python3/PCbuild/make_versioninfo.vcxproj +@@ -114,24 +114,25 @@ + + + Build PC/pythonnt_rc(_d).h + cd $(SolutionDir) +-make_versioninfo.exe > ..\PC\pythonnt_rc.h ++amd64\make_versioninfo.exe > ..\PC\pythonnt_rc.h + + $(SolutionDir)..\PC\pythonnt_rc.h;%(Outputs) + + + MaxSpeed + OnlyExplicitInline + true + _CONSOLE;%(PreprocessorDefinitions) + + +- $(SolutionDir)make_versioninfo.exe ++ $(SolutionDir)amd64\make_versioninfo.exe ++ Console + + + cd $(SolutionDir) +-make_versioninfo.exe > ..\PC\python_nt.h ++amd64\make_versioninfo.exe > ..\PC\python_nt.h + + + + +--- python3/PCbuild/pythoncore.vcxproj ++++ python3/PCbuild/pythoncore.vcxproj +@@ -185,35 +185,35 @@ + + + X64 + + + /Zm200 %(AdditionalOptions) + ..\Python;..\Modules\zlib;%(AdditionalIncludeDirectories) + _USRDLL;Py_BUILD_CORE;Py_ENABLE_SHARED;WIN32;%(PreprocessorDefinitions) + MultiThreadedDLL + + + NDEBUG;%(PreprocessorDefinitions) + 0x0409 + ..\Include;%(AdditionalIncludeDirectories) + + + Generate build information... +- "$(SolutionDir)make_buildinfo.exe" Release "$(IntDir)" ++ "$(SolutionDir)amd64\make_buildinfo.exe" Release "$(IntDir)" + + + $(IntDir)getbuildinfo.o;%(AdditionalDependencies) + libc;%(IgnoreSpecificDefaultLibraries) + 0x1e000000 + + + + + /Zm200 %(AdditionalOptions) + Disabled + Default + false + ..\Python;..\Modules\zlib;%(AdditionalIncludeDirectories) + _USRDLL;Py_BUILD_CORE;Py_ENABLE_SHARED;WIN32;%(PreprocessorDefinitions) + MultiThreadedDebugDLL + -- cgit