diff options
author | Todd Zullinger <tmz@pobox.com> | 2021-06-05 11:27:55 -0400 |
---|---|---|
committer | Todd Zullinger <tmz@pobox.com> | 2021-06-06 16:15:25 -0400 |
commit | 9e4b66807c8b5e6e0660dfedcc03c6ab1f987350 (patch) | |
tree | d57d18b47139f89f2ee610554ed770341a683048 | |
parent | e8a67d47c46d074d8a031e70c2cdf5875ef53197 (diff) | |
download | cgit_EL6-9e4b66807c8b5e6e0660dfedcc03c6ab1f987350.tar.gz |
explicitly disable expat, perl, python, and tcl/tk in git build
We don't want any of the git code which requires expat, perl, python, or
tcl/tk to be built. Set the corresponding NO_* make variables.
This ensures that even if git can find these tools in the buildroot, it
won't use them. For example, we have perl in the buildroot because it's
used in the test suite, but we don't want to build any of git's perl
tools.
If nothing else, this should slightly improve the build time.
-rw-r--r-- | cgit.spec | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -168,6 +168,10 @@ cat << \EOF | tee git/config.mak V = 1 CFLAGS = %{optflags} LDFLAGS = %{?__global_ldflags} +NO_EXPAT = 1 +NO_PERL = 1 +NO_PYTHON = 1 +NO_TCLTK = 1 EOF # remove env shebang's from filter scripts @@ -230,6 +234,7 @@ make test %changelog * Sat Jun 05 2021 Todd Zullinger <tmz@pobox.com> - 1.2.3-5 - include output of cgit.conf and git/config.mak in build logs +- explicitly disable expat, perl, python, and tcl/tk in git build * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild |