gecko-dev/media/libvpx/win64_build_fix.patch

23 строки
737 B
Diff

diff --git a/media/libvpx/libvpx/vpx_ports/vpx_ports.mk b/media/libvpx/libvpx/vpx_ports/vpx_ports.mk
--- a/media/libvpx/libvpx/vpx_ports/vpx_ports.mk
+++ b/media/libvpx/libvpx/vpx_ports/vpx_ports.mk
@@ -21,17 +21,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