summaryrefslogtreecommitdiff
path: root/external/python3
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-11-03 00:54:12 +0100
committerMichael Stahl <mstahl@redhat.com>2014-11-03 23:23:15 +0100
commitc79d2dbe3a75e3376a5997444b6a3a5f947da107 (patch)
tree3b976c315ecfcfc3b73c64d0edaf954b458a0fb6 /external/python3
parentfa836cab8d3a300e196c7f1b0990098567f7cd62 (diff)
fdo#82430: MSVC build: disable a few more cases of SSE2 in externals
Change-Id: I8f0db23d1f9ba6b9fc3c8b64b32822ba8166428f
Diffstat (limited to 'external/python3')
-rw-r--r--external/python3/python-msvc-disable-sse2.patch.111
1 files changed, 11 insertions, 0 deletions
diff --git a/external/python3/python-msvc-disable-sse2.patch.1 b/external/python3/python-msvc-disable-sse2.patch.1
index a01423fc3287..399aa6016dfc 100644
--- a/external/python3/python-msvc-disable-sse2.patch.1
+++ b/external/python3/python-msvc-disable-sse2.patch.1
@@ -10,3 +10,14 @@ fdo#82430 disable SSE2 default of MSVC2012
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
+--- python3/PCbuild/make_buildinfo.c.orig 2014-11-03 00:48:58.841000000 +0100
++++ python3/PCbuild/make_buildinfo.c 2014-11-03 00:49:16.266200000 +0100
+@@ -109,7 +109,7 @@
+
+ int main(int argc, char*argv[])
+ {
+- char command[CMD_SIZE] = "cl.exe -c -D_WIN32 -DUSE_DL_EXPORT -D_WINDOWS -DWIN32 -D_WINDLL ";
++ char command[CMD_SIZE] = "cl.exe -arch:SSE -c -D_WIN32 -DUSE_DL_EXPORT -D_WINDOWS -DWIN32 -D_WINDLL ";
+ char tmppath[CMD_SIZE] = "";
+ int do_unlink, result;
+ char *tmpdir = NULL;