Bug 1092136 - Enable AVX2 support in libvpx for mingw toolchain. r=rillian

This commit is contained in:
Jacek Caban 2014-11-03 10:29:16 +01:00
parent 8f5ffaf898
commit c8667810ee

View File

@ -41,8 +41,8 @@ if CONFIG['VPX_X86_ASM']:
SOURCES += files['X86-64_ASM']
# AVX2 only supported on
# Darwin toolchain right now
if CONFIG['OS_TARGET'] == 'Darwin':
# Darwin and mingw toolchains right now
if CONFIG['OS_TARGET'] == 'Darwin' or (CONFIG['OS_TARGET'] == 'WINNT' and CONFIG['GNU_CC']):
SOURCES += files['AVX2']
# Expected support is hard-coded in the various vpx_config files but