Skip to content

Commit

Permalink
libgcrypt: add temporary Sierra build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DomT4 committed Jul 31, 2016
1 parent 1abe43f commit 8311571
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Formula/libgcrypt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 8311571

Please sign in to comment.