libgit2: drop universal
Closes #10349. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
a4f111786a
commit
ee6a30a7e1
1 changed files with 0 additions and 7 deletions
|
@ -11,8 +11,6 @@ class Libgit2 < Formula
|
|||
sha256 "1c9a4e6b427e80df70d78c9dfdf857b269888a2c8091ddcdcc3ce96e6d0acd8d" => :yosemite
|
||||
end
|
||||
|
||||
option :universal
|
||||
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "cmake" => :build
|
||||
depends_on "libssh2" => :recommended
|
||||
|
@ -24,11 +22,6 @@ class Libgit2 < Formula
|
|||
args << "-DBUILD_CLAR=NO" # Don't build tests.
|
||||
args << "-DUSE_SSH=NO" if build.without? "libssh2"
|
||||
|
||||
if build.universal?
|
||||
ENV.universal_binary
|
||||
args << "-DCMAKE_OSX_ARCHITECTURES=#{Hardware::CPU.universal_archs.as_cmake_arch_flags}"
|
||||
end
|
||||
|
||||
mkdir "build" do
|
||||
system "cmake", "..", *args
|
||||
system "make", "install"
|
||||
|
|
Loading…
Reference in a new issue