summaryrefslogtreecommitdiff
path: root/media/ffvpx
diff options
context:
space:
mode:
authortrav90 <travawine@protonmail.ch>2018-04-26 16:53:28 -0500
committertrav90 <travawine@protonmail.ch>2018-04-26 16:53:28 -0500
commitaf2f0e66f5eaa9bcc695896188e8dba91b419d46 (patch)
treea19bf38a59feb23132eb02adcdd2cc515da20c4b /media/ffvpx
parent0676e749b884903a7cda54186ee8c9a193327468 (diff)
downloaduxp-af2f0e66f5eaa9bcc695896188e8dba91b419d46.tar.gz
[ffvpx] Compile ffvpx lib with -ffreestanding to avoid triggering a clang bug
Diffstat (limited to 'media/ffvpx')
-rw-r--r--media/ffvpx/ffvpxcommon.mozbuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/media/ffvpx/ffvpxcommon.mozbuild b/media/ffvpx/ffvpxcommon.mozbuild
index a8bb19e563..620158694b 100644
--- a/media/ffvpx/ffvpxcommon.mozbuild
+++ b/media/ffvpx/ffvpxcommon.mozbuild
@@ -53,6 +53,8 @@ if CONFIG['GNU_CC']:
'-Wno-incompatible-pointer-types-discards-qualifiers',
'-Wno-string-conversion',
'-Wno-visibility',
+ # Workaround for https://bugs.llvm.org/show_bug.cgi?id=26828#c4 :
+ '-ffreestanding',
]
else:
CFLAGS += [