summaryrefslogtreecommitdiffstats
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
UXP-af2f0e66f5eaa9bcc695896188e8dba91b419d46.tar.gz
UXP-af2f0e66f5eaa9bcc695896188e8dba91b419d46.tar.lz
UXP-af2f0e66f5eaa9bcc695896188e8dba91b419d46.tar.xz
UXP-af2f0e66f5eaa9bcc695896188e8dba91b419d46.zip
[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 a8bb19e56..620158694 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 += [