summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortwivi <twivi@no-reply.palemoon.org>2022-09-11 21:49:56 +0000
committertwivi <twivi@no-reply.palemoon.org>2022-09-11 21:49:56 +0000
commit82ac99acb5d84c7ff3aa64fc71f6912f9cbd8203 (patch)
tree871da63b5ed4fdf91c94a7e3b10d24b4cb6249db
parentc623c471573c1a14b5b540c8505341445d2cae64 (diff)
downloaduxp-82ac99acb5d84c7ff3aa64fc71f6912f9cbd8203.tar.gz
Allow explicit inlines in libaom code, but still prevent automatic inlines due to compiler issues
-rw-r--r--media/libaom/moz.build8
1 files 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']: