guile: fix for Xcode 11

Closes #45606.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
FX Coudert 2019-10-20 14:30:24 +02:00
parent 13fcdeca5a
commit 2d9484d551

View file

@ -29,6 +29,10 @@ class Guile < Formula
depends_on "readline"
def install
# Work around Xcode 11 clang bug
# https://bitbucket.org/multicoreware/x265/issues/514/wrong-code-generated-on-macos-1015
ENV.append_to_cflags "-fno-stack-check" if DevelopmentTools.clang_build_version >= 1010
system "./autogen.sh" unless build.stable?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",