zile: only builds with clang and newer GCC
Fixes mistydemeo/tigerbrew#215.
This commit is contained in:
parent
0437e5b422
commit
31ce278192
1 changed files with 13 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue