diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-10-01 23:15:26 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-10-02 17:20:15 +0200 |
commit | cd42e5f3e2eb9540b16e568559e6e95ffd7cc2a7 (patch) | |
tree | 9f8901186492d19cc21376566cee3924472e807a /external/libgltf | |
parent | 37c00bff114fe39e553ea6f1b8e68d6c6ff93eba (diff) |
fdo#82430: MSVC build: avoid using SSE2 instructions in some externals
Hopefully this should fix up the most important external libraries.
Change-Id: I744cb5a2ce7fafb10852059050cf24589d6ca400
Diffstat (limited to 'external/libgltf')
-rw-r--r-- | external/libgltf/UnpackedTarball_libgltf.mk | 1 | ||||
-rw-r--r-- | external/libgltf/libgltf-msvc-disable-sse2.patch.1 | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/external/libgltf/UnpackedTarball_libgltf.mk b/external/libgltf/UnpackedTarball_libgltf.mk index 176c1d15246b..749d74a67d54 100644 --- a/external/libgltf/UnpackedTarball_libgltf.mk +++ b/external/libgltf/UnpackedTarball_libgltf.mk @@ -16,6 +16,7 @@ $(eval $(call gb_UnpackedTarball_set_patchflags,libgltf,--binary)) $(eval $(call gb_UnpackedTarball_set_patchlevel,libgltf,1)) $(eval $(call gb_UnpackedTarball_add_patches,libgltf,\ + external/libgltf/libgltf-msvc-disable-sse2.patch.1 \ )) # vim: set noet sw=4 ts=4: diff --git a/external/libgltf/libgltf-msvc-disable-sse2.patch.1 b/external/libgltf/libgltf-msvc-disable-sse2.patch.1 new file mode 100644 index 000000000000..4644c89ec82b --- /dev/null +++ b/external/libgltf/libgltf-msvc-disable-sse2.patch.1 @@ -0,0 +1,10 @@ +--- libgltf/build/win32/libgltf.vcxproj.orig 2014-10-02 15:27:23.057965577 +0200 ++++ libgltf/build/win32/libgltf.vcxproj 2014-10-02 15:27:25.845965361 +0200 +@@ -90,6 +90,7 @@ + <ClCompile> + <WarningLevel>Level4</WarningLevel> + <Optimization>MaxSpeed</Optimization> ++ <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet> + <FunctionLevelLinking>true</FunctionLevelLinking> + <IntrinsicFunctions>true</IntrinsicFunctions> + <AdditionalIncludeDirectories>..\..\inc;$(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |