fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / python3 / python-msvc-disable-sse2.patch.1
blob399aa6016dfc36899a1ee9ba88402b15059eeb4d
1 fdo#82430 disable SSE2 default of MSVC2012
3 --- python3/PCbuild/release.props.old   2014-10-01 23:47:33.348095403 +0200
4 +++ python3/PCbuild/release.props       2014-10-01 23:48:05.051092945 +0200
5 @@ -9,6 +9,7 @@
6    <ItemDefinitionGroup>
7      <ClCompile>
8        <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
9 +      <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet>
10      </ClCompile>
11    </ItemDefinitionGroup>
12    <ItemGroup>
13 --- python3/PCbuild/make_buildinfo.c.orig       2014-11-03 00:48:58.841000000 +0100
14 +++ python3/PCbuild/make_buildinfo.c    2014-11-03 00:49:16.266200000 +0100
15 @@ -109,7 +109,7 @@
17  int main(int argc, char*argv[])
18  {
19 -    char command[CMD_SIZE] = "cl.exe -c -D_WIN32 -DUSE_DL_EXPORT -D_WINDOWS -DWIN32 -D_WINDLL ";
20 +    char command[CMD_SIZE] = "cl.exe -arch:SSE -c -D_WIN32 -DUSE_DL_EXPORT -D_WINDOWS -DWIN32 -D_WINDLL ";
21      char tmppath[CMD_SIZE] = "";
22      int do_unlink, result;
23      char *tmpdir = NULL;