From 831157188c6abd91bd63aa990a95ebc5edea2f18 Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Sun, 31 Jul 2016 18:10:59 +0100 Subject: [PATCH] libgcrypt: add temporary Sierra build fix --- Formula/libgcrypt.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Formula/libgcrypt.rb b/Formula/libgcrypt.rb index b0fe461644..3bd1a1d7d7 100644 --- a/Formula/libgcrypt.rb +++ b/Formula/libgcrypt.rb @@ -25,6 +25,12 @@ class Libgcrypt < Formula def install ENV.universal_binary if build.universal? + # Temporary hack to get libgcrypt building on macOS 10.12. + # Seems to be a Clang issue rather than an upstream one, so + # keep checking whether or not this is necessary. + # Should be reported to GnuPG if still an issue when near stable. + # https://github.com/Homebrew/homebrew-core/issues/1957 + ENV.O1 if MacOS.version >= :sierra system "./configure", "--disable-dependency-tracking", "--disable-silent-rules",