libgcrypt: add temporary Sierra build fix

This commit is contained in:
Dominyk Tiller 2016-07-31 18:10:59 +01:00
parent 1abe43f239
commit 831157188c
No known key found for this signature in database
GPG key ID: FE19AEFCF658C6F6

View file

@ -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",