diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-04-27 15:38:20 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-04-27 15:50:19 +0300 |
commit | e126a82921b3ae9fc5f25a20c99dcbbee09240ea (patch) | |
tree | 1f11ad9fa88e25da24aa8af093013e8fffe0a693 | |
parent | 3b432a163fb0676d8aa3d369c9c477c3d976d787 (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-- | Makefile | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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) |