From af2f0e66f5eaa9bcc695896188e8dba91b419d46 Mon Sep 17 00:00:00 2001 From: trav90 Date: Thu, 26 Apr 2018 16:53:28 -0500 Subject: [ffvpx] Compile ffvpx lib with -ffreestanding to avoid triggering a clang bug --- media/ffvpx/ffvpxcommon.mozbuild | 2 ++ 1 file changed, 2 insertions(+) (limited to 'media') 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 += [ -- cgit v1.2.3