Add a %bcond for libgit2

This commit is contained in:
Josh Stone 2018-04-18 13:14:57 -07:00
parent 661ac15382
commit 8ccb982681

View File

@ -27,6 +27,13 @@
%bcond_with bundled_llvm
%endif
# Some targets don't have libgit2
%if 0%{?rhel} && !0%{?epel}
%bcond_without bundled_libgit2
%else
%bcond_with bundled_libgit2
%endif
# LLDB only works on some architectures
%ifarch %{arm} aarch64 %{ix86} x86_64
# LLDB isn't available everywhere...