gecko-dev/media/libvpx/win64_build_fix.patch

23 lines
657 B
Diff

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