dwarf: needs gcc-4.9 to compile

Reported upstream: https://github.com/elboza/dwarf-ng/issues/1

Closes Homebrew/homebrew#42479.

Closes Homebrew/homebrew#43182.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Dominyk Tiller 2015-08-22 22:11:08 +01:00
parent 9ef5a1a25c
commit 14cb3c0555

View file

@ -14,8 +14,16 @@ class Dwarf < Formula
cause "error: unknown type name 'intmax_t'"
end
# /usr/include/inttypes.h:256:8: error: unknown type name 'uintmax_t'
# https://github.com/elboza/dwarf-ng/issues/1
fails_with :gcc => "5"
def install
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
system "make", "install"
end
test do
assert_match version.to_s, shell_output("#{bin}/dwarf --help", 1)
end
end