diff options
author | Thomas Groman <tgroman@nuegia.net> | 2021-03-30 02:53:48 -0700 |
---|---|---|
committer | Thomas Groman <tgroman@nuegia.net> | 2021-03-30 02:53:48 -0700 |
commit | 702b3bf53ac4d7e3d483c9b12123235ba83c5395 (patch) | |
tree | b7543adf2ac7409ccd3c2a8611c3655577ca7fd3 /media/ffvpx/libavcodec | |
parent | c457666d6d5d478bbe3ca5ff09ae07e061b0ff00 (diff) | |
download | UXP-702b3bf53ac4d7e3d483c9b12123235ba83c5395.tar UXP-702b3bf53ac4d7e3d483c9b12123235ba83c5395.tar.gz UXP-702b3bf53ac4d7e3d483c9b12123235ba83c5395.tar.lz UXP-702b3bf53ac4d7e3d483c9b12123235ba83c5395.tar.xz UXP-702b3bf53ac4d7e3d483c9b12123235ba83c5395.zip |
Work around GCC 10 defaulting to -fno-common in media/ffvpx/libavcodec/
Diffstat (limited to 'media/ffvpx/libavcodec')
-rw-r--r-- | media/ffvpx/libavcodec/moz.build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/media/ffvpx/libavcodec/moz.build b/media/ffvpx/libavcodec/moz.build index 05217a6e4..210ea0ba8 100644 --- a/media/ffvpx/libavcodec/moz.build +++ b/media/ffvpx/libavcodec/moz.build @@ -67,6 +67,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' ] |