Skip to content
Snippets Groups Projects
Commit 7306cd80 authored by Patrick Steinhardt's avatar Patrick Steinhardt
Browse files

Makefile: Allow appending Git and libgit2 build options

When executing `make git`, then Gitaly provides a default set of build
options. These include all kinds of things, but most importantly we
disable a bunch of options which we don't need at runtime. In case
downstream distributions of Gitaly want to build Git with a bunch of
additional options though, they have no other way to do so than to copy
the default set of options and then append whatever they want to change
to this set. This is quite fragile, and any changes done in Gitaly won't
be reflected in downstream distributions like this.

Improve this by adding two new build variables GIT_APPEND_BUILD_OPTIONS
and LIBGIT2_APPEND_BUILD_OPTIONS, which allow appending additional
options without overriding the defaults.
parent 755ee92f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment