Skip to content

Commit

Permalink
snappy: add patch for gcc build (#78272)
Browse files Browse the repository at this point in the history
  • Loading branch information
iMichka committed May 29, 2021
1 parent 377903f commit 37dd119
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Formula/snappy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ class Snappy < Formula
depends_on "llvm" => :build if DevelopmentTools.clang_build_version <= 1100
end

on_linux do
# Fix for build failure. Remove with next release.
patch do
url "https://github.com/google/snappy/commit/0c716d435abe65250100c2caea0e5126ac4e14bd.patch?full_index=1"
sha256 "12ff7d1182a35298de3287db32ef8581b8ef600efd6d9509fcc894d3d2056c80"
end
end

fails_with :clang do
build 1100
cause "error: invalid output constraint '=@ccz' in asm"
Expand Down

0 comments on commit 37dd119

Please sign in to comment.