diff options
author | DJ Mountney <dj@gitlab.com> | 2022-04-29 18:52:41 +0300 |
---|---|---|
committer | DJ Mountney <dj@gitlab.com> | 2022-04-29 18:52:41 +0300 |
commit | d1d0b76bcbe07eebc93d92a29162e799222d09d9 (patch) | |
tree | 50052f26fcfb60a286a349f13cca563f26de5775 | |
parent | c47bb5beba81703b7c2bb2b3d1c138cb667fa80c (diff) |
Build git using symlinks to reduce sizebuild-git-with-symlinks
A recent change to how we build git resulted in 100s of MB of size
increase in the omnibus packages and cloud native docker images.
This change should bring the sizes back down.
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -159,6 +159,7 @@ 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 += INSTALL_SYMLINKS=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) |