[FFmpeg-devel] [PATCH] configure: Fix build on MacOS 10.15

Rick Kern kernrj at gmail.com
Sun Nov 17 23:57:49 EET 2019


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
 elif enabled cparser; then
     add_cflags -Wno-missing-variable-declarations
     add_cflags -Wno-empty-statement
-- 
2.20.1



More information about the ffmpeg-devel mailing list