[ffvpx] Compile ffvpx lib with -ffreestanding to avoid triggering a clang bug

This commit is contained in:
trav90 2018-04-26 16:53:28 -05:00 committed by Roy Tam
commit 990d844c2c

View file

@ -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 += [