x264: only build with `nasm` on intel
parent
163eead6e9
commit
7c0a12bad4
|
@ -49,12 +49,14 @@ class X264 < Formula
|
||||||
sha256 cellar: :any_skip_relocation, x86_64_linux: "21bd89d6cc7283c8f77b9a2655b6bfe9f7c8d1d6d098b5c402a33fac27d9f8bb"
|
sha256 cellar: :any_skip_relocation, x86_64_linux: "21bd89d6cc7283c8f77b9a2655b6bfe9f7c8d1d6d098b5c402a33fac27d9f8bb"
|
||||||
end
|
end
|
||||||
|
|
||||||
depends_on "nasm" => :build
|
|
||||||
|
|
||||||
on_macos do
|
on_macos do
|
||||||
depends_on "gcc" if DevelopmentTools.clang_build_version <= 902
|
depends_on "gcc" if DevelopmentTools.clang_build_version <= 902
|
||||||
end
|
end
|
||||||
|
|
||||||
|
on_intel do
|
||||||
|
depends_on "nasm" => :build
|
||||||
|
end
|
||||||
|
|
||||||
# https://code.videolan.org/videolan/x264/-/commit/b5bc5d69c580429ff716bafcd43655e855c31b02
|
# https://code.videolan.org/videolan/x264/-/commit/b5bc5d69c580429ff716bafcd43655e855c31b02
|
||||||
fails_with :clang do
|
fails_with :clang do
|
||||||
build 902
|
build 902
|
||||||
|
|
Loading…
Reference in New Issue