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
This commit is contained in:
Jonathan G Rennison 2019-11-05 18:02:06 +00:00
parent 7046327b67
commit 0a027a279d

View File

@ -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