Fix Compile Errors on Linux

This commit is contained in:
EAZYBLACK 2026-09-27 21:40:59 +03:00
commit 640bca63c5
3 changed files with 9 additions and 0 deletions

View file

@ -180,6 +180,9 @@ if CONFIG['GNU_CXX']:
if CONFIG['GNU_CC'] and CONFIG['CC_VERSION'] >= '10.0.0':
CFLAGS += ['-fcommon']
if CONFIG['OS_TARGET'] == 'Linux':
SOURCES['cabac.c'].flags += ['-fno-lto']
USE_LIBS += [
'mozavutil'
]