mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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 d95585fb0ec024f6abd96f7b02e0df58019d46af.
This commit is contained in:
parent
5e57fb09be
commit
a2e42857be
@ -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']
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user