zile: only builds with clang and newer GCC

Fixes mistydemeo/tigerbrew#215.
This commit is contained in:
Misty De Meo 2014-08-26 08:49:17 -07:00
parent 0437e5b422
commit 31ce278192

View file

@ -12,6 +12,19 @@ class Zile < Formula
sha1 "1a32cf3d3c235bba1fd570e7bff81190851ec411" => :lion
end
# https://github.com/mistydemeo/tigerbrew/issues/215
fails_with :gcc_4_0 do
cause "src/funcs.c:1128: error: #pragma GCC diagnostic not allowed inside functions"
end
fails_with :gcc do
cause "src/funcs.c:1128: error: #pragma GCC diagnostic not allowed inside functions"
end
fails_with :llvm do
cause "src/funcs.c:1128: error: #pragma GCC diagnostic not allowed inside functions"
end
depends_on "pkg-config" => :build
depends_on "help2man" => :build
depends_on "bdw-gc"