Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2022-04-27 15:38:20 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2022-04-27 15:50:19 +0300
commite126a82921b3ae9fc5f25a20c99dcbbee09240ea (patch)
tree1f11ad9fa88e25da24aa8af093013e8fffe0a693
parent3b432a163fb0676d8aa3d369c9c477c3d976d787 (diff)
Makefile: Reduce installed Git size by using hardlinkspks-makefile-git-improvements
Since the inception of our `make git` target we have always passed the `NO_INSTALL_HARDLINKS=YesPlease` build option. This option causes the Git build system to create copies of the Git binaries instead of hard links. It is not clear why we should need to set this option though as it only increases the size of the installed distribution by about 25MB without much merit. So let's stop passing the build option so that Git's build system can decide for itself how it should install the binaries.
-rw-r--r--Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e5bd33648..c0171df07 100644
--- a/Makefile
+++ b/Makefile
@@ -157,7 +157,6 @@ ifeq ($(origin GIT_BUILD_OPTIONS),undefined)
GIT_BUILD_OPTIONS += NO_TCLTK=YesPlease
GIT_BUILD_OPTIONS += NO_GETTEXT=YesPlease
GIT_BUILD_OPTIONS += NO_PYTHON=YesPlease
- GIT_BUILD_OPTIONS += NO_INSTALL_HARDLINKS=YesPlease
PCRE_PC=libpcre2-8
ifeq ($(shell pkg-config --exists ${PCRE_PC} && echo exists),exists)
GIT_BUILD_OPTIONS += LIBPCREDIR=$(shell pkg-config ${PCRE_PC} --variable prefix)