Bug 1063356 - Update libvpx build flags. r=kinetik,ted

Propagate ssse3 and sse4.1 build flags from configure.
This is required by new optimations in upstream commit
c731d6a4f19eea861ceb2ff31399420b2452eb74.
This commit is contained in:
Ralph Giles 2014-10-07 10:14:07 -07:00
Родитель 307e5968d6
Коммит a0cdc9e13f
1 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -45,6 +45,13 @@ if CONFIG['VPX_X86_ASM']:
if CONFIG['OS_TARGET'] == 'Darwin':
SOURCES += files['AVX2']
# Expected support is hard-coded in the various vpx_config files but
# we need to propagate the config checks here to get the right flags.
if CONFIG['HAVE_TOOLCHAIN_SUPPORT_MSSSE3']:
CFLAGS += ['-mssse3']
if CONFIG['HAVE_TOOLCHAIN_SUPPORT_MSSE4_1']:
CFLAGS += ['-msse4.1']
#postproc is only enabled on x86 with asm
SOURCES += files['VP8_POSTPROC']