ufraw: fix for Xcode 11

Closes #45559.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
FX Coudert 2019-10-19 11:15:32 +02:00
parent 560afd4e62
commit 7a2487c171

View file

@ -35,6 +35,10 @@ class Ufraw < Formula
end
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 "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--without-gtk",