From 0a027a279d692103f0aeb89e3786ae132d30be85 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Tue, 5 Nov 2019 18:02:06 +0000 Subject: [PATCH] Configure: Add workaround for stack misalignment bug on MacOS 10.15 See: https://forums.developer.apple.com/thread/121887 See: https://trac.ffmpeg.org/ticket/8073 See: https://github.com/jedisct1/libsodium/issues/848 --- config.lib | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.lib b/config.lib index cb5e4c44a2..b9434f1d92 100644 --- a/config.lib +++ b/config.lib @@ -1993,6 +1993,9 @@ EOL log 1 "checking ucontext... found" CFLAGS="$CFLAGS -DWITH_UCONTEXT" fi + + # workaround for issues with MacOS 10.15 Catalina and stack_not_16_byte_aligned_error issues + CFLAGS="$CFLAGS -fno-stack-check" fi if [ "$os" = "HAIKU" ]; then