summaryrefslogtreecommitdiffstats
path: root/media/libvpx/win64_build_fix.patch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--media/libvpx/win64_build_fix.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/media/libvpx/win64_build_fix.patch b/media/libvpx/win64_build_fix.patch
new file mode 100644
index 0000000000..bfe0ed131a
--- /dev/null
+++ b/media/libvpx/win64_build_fix.patch
@@ -0,0 +1,22 @@
+diff --git a/vpx_ports/vpx_ports.mk b/vpx_ports/vpx_ports.mk
+--- a/vpx_ports/vpx_ports.mk
++++ b/vpx_ports/vpx_ports.mk
+@@ -23,17 +23,17 @@ ifeq ($(VPX_ARCH_X86),yes)
+ PORTS_SRCS-$(HAVE_MMX) += emms_mmx.c
+ endif
+ ifeq ($(VPX_ARCH_X86_64),yes)
+ # Visual Studio x64 does not support the _mm_empty() intrinsic.
+ PORTS_SRCS-$(HAVE_MMX) += emms_mmx.asm
+ endif
+
+ ifeq ($(VPX_ARCH_X86_64),yes)
+-PORTS_SRCS-$(CONFIG_MSVS) += float_control_word.asm
++PORTS_SRCS-yes += float_control_word.asm
+ endif
+
+ ifeq ($(VPX_ARCH_X86)$(VPX_ARCH_X86_64),yes)
+ PORTS_SRCS-yes += x86.h
+ PORTS_SRCS-yes += x86_abi_support.asm
+ endif
+
+ PORTS_SRCS-$(VPX_ARCH_ARM) += arm_cpudetect.c