summaryrefslogtreecommitdiff
path: root/external/glew
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-10-01 23:15:26 +0200
committerMichael Stahl <mstahl@redhat.com>2014-10-02 17:20:15 +0200
commitcd42e5f3e2eb9540b16e568559e6e95ffd7cc2a7 (patch)
tree9f8901186492d19cc21376566cee3924472e807a /external/glew
parent37c00bff114fe39e553ea6f1b8e68d6c6ff93eba (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/glew')
-rw-r--r--external/glew/UnpackedTarball_glew.mk1
-rw-r--r--external/glew/glew-msvc-disable-sse2.patch.110
2 files changed, 11 insertions, 0 deletions
diff --git a/external/glew/UnpackedTarball_glew.mk b/external/glew/UnpackedTarball_glew.mk
index cebc651c06b8..70699114f49b 100644
--- a/external/glew/UnpackedTarball_glew.mk
+++ b/external/glew/UnpackedTarball_glew.mk
@@ -21,6 +21,7 @@ $(eval $(call gb_UnpackedTarball_fix_end_of_line,glew,\
ifeq ($(OS)$(COM),WNTMSC)
$(eval $(call gb_UnpackedTarball_set_patchflags,glew,--binary))
$(eval $(call gb_UnpackedTarball_add_patches,glew,\
+ external/glew/glew-msvc-disable-sse2.patch.1 \
external/glew/glew-fix-rc-error.patch.1 \
external/glew/glew-vc2013-project.patch.1 \
))
diff --git a/external/glew/glew-msvc-disable-sse2.patch.1 b/external/glew/glew-msvc-disable-sse2.patch.1
new file mode 100644
index 000000000000..6b07044f5507
--- /dev/null
+++ b/external/glew/glew-msvc-disable-sse2.patch.1
@@ -0,0 +1,10 @@
+--- glew/build//vc10/common.props.orig 2014-10-02 15:06:57.027060664 +0200
++++ glew/build//vc10/common.props 2014-10-02 15:06:59.026060509 +0200
+@@ -10,6 +10,7 @@
+ <ItemDefinitionGroup>
+ <ClCompile>
+ <AdditionalIncludeDirectories>$(INCLUDE_DIR)</AdditionalIncludeDirectories>
++ <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet>
+ </ClCompile>
+ </ItemDefinitionGroup>
+ <ItemGroup>