qemu: fail with Apple GCC 4.0 and 4.2
Those have no native support for the `__thread` specifier required by QEMU for Thread-Local Storage (TLS). Fixes Homebrew/homebrew#47742.
This commit is contained in:
parent
2ec628fdab
commit
170e70276e
1 changed files with 8 additions and 0 deletions
|
@ -24,6 +24,14 @@ class Qemu < Formula
|
|||
depends_on "gtk+" => :optional
|
||||
depends_on "libssh2" => :optional
|
||||
|
||||
fails_with :gcc_4_0 do
|
||||
cause "qemu requires a compiler with support for the __thread specifier"
|
||||
end
|
||||
|
||||
fails_with :gcc do
|
||||
cause "qemu requires a compiler with support for the __thread specifier"
|
||||
end
|
||||
|
||||
# 3.2MB working disc-image file hosted on upstream's servers for people to use to test qemu functionality.
|
||||
resource "armtest" do
|
||||
url "http://wiki.qemu.org/download/arm-test-0.2.tar.gz"
|
||||
|
|
Loading…
Reference in a new issue