Work around GCC 10 defaulting to -fno-common in media/ffvpx/libavcodec/
This commit is contained in:
parent
036a5c9e13
commit
56466b9697
|
@ -161,6 +161,11 @@ SOURCES += [
|
|||
SYMBOLS_FILE = 'avcodec.symbols'
|
||||
NO_VISIBILITY_FLAGS = True
|
||||
|
||||
# GCC 10 defaults -fno-common, we don't care to solve this "properly" yet
|
||||
# so use GCC < 10 behavior.
|
||||
if CONFIG['GNU_CC'] and CONFIG['CC_VERSION'] >= '10.0.0':
|
||||
CFLAGS += ['-fcommon']
|
||||
|
||||
USE_LIBS += [
|
||||
'mozavutil'
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue