[FFmpeg-devel] [PATCH] configure: Fix build on MacOS 10.15
James Almer
jamrial at gmail.com
Mon Nov 18 00:02:39 EET 2019
On 11/17/2019 6:57 PM, Rick Kern wrote:
> The default ./configure produces binaries that segfault on MacOS 10.15.
> Fixes #8073 using the work-around mentioned in the ticket.
> ---
> configure | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/configure b/configure
> index 31a3744dc6..6e371ae433 100755
> --- a/configure
> +++ b/configure
> @@ -6878,6 +6878,7 @@ elif enabled clang; then
> check_cflags -Werror=implicit-function-declaration
> check_cflags -Werror=missing-prototypes
> check_cflags -Werror=return-type
> + check_cflags -fno-stack-check
This works around an Xcode 11 bug/regression, btw, that Apple hasn't
fixed yet. It's afaik not exclusive to Catalina, so the commit message
should mention it.
> elif enabled cparser; then
> add_cflags -Wno-missing-variable-declarations
> add_cflags -Wno-empty-statement
>
More information about the ffmpeg-devel
mailing list