From 82ac99acb5d84c7ff3aa64fc71f6912f9cbd8203 Mon Sep 17 00:00:00 2001 From: twivi Date: Sun, 11 Sep 2022 21:49:56 +0000 Subject: Allow explicit inlines in libaom code, but still prevent automatic inlines due to compiler issues --- media/libaom/moz.build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/media/libaom/moz.build b/media/libaom/moz.build index adc5892f37..766538e4e8 100644 --- a/media/libaom/moz.build +++ b/media/libaom/moz.build @@ -109,13 +109,13 @@ if CONFIG['_MSC_VER']: for f in SOURCES: # MSVC massively chokes on inlining these SIMD sources, so disable inlining for them. if f.endswith('cdef_block_sse2.c'): - SOURCES[f].flags += ['-Ob0'] + SOURCES[f].flags += ['-Ob1'] elif f.endswith('cdef_block_ssse3.c'): - SOURCES[f].flags += ['-Ob0'] + SOURCES[f].flags += ['-Ob1'] elif f.endswith('cdef_block_sse4.c'): - SOURCES[f].flags += ['-Ob0'] + SOURCES[f].flags += ['-Ob1'] elif f.endswith('cdef_block_avx2.c'): - SOURCES[f].flags += ['-Ob0'] + SOURCES[f].flags += ['-Ob1'] # Suppress warnings in third-party code. if CONFIG['GNU_CC'] or CONFIG['CLANG_CL']: -- cgit v1.2.3