mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
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:
parent
7046327b67
commit
0a027a279d
@ -1993,6 +1993,9 @@ EOL
|
|||||||
log 1 "checking ucontext... found"
|
log 1 "checking ucontext... found"
|
||||||
CFLAGS="$CFLAGS -DWITH_UCONTEXT"
|
CFLAGS="$CFLAGS -DWITH_UCONTEXT"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# workaround for issues with MacOS 10.15 Catalina and stack_not_16_byte_aligned_error issues
|
||||||
|
CFLAGS="$CFLAGS -fno-stack-check"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$os" = "HAIKU" ]; then
|
if [ "$os" = "HAIKU" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user