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
pull/115/head
Jonathan G Rennison 5 years ago
parent 7046327b67
commit 0a027a279d

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

Loading…
Cancel
Save