diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-03-30 14:50:09 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-04-01 10:15:29 +0300 |
commit | 4bfe8e844e53595d7f115332d0fd6acc18e84a27 (patch) | |
tree | eb879035fc2d4daa5eda3f29d9c11ce5d4ab8b51 | |
parent | 8b5fee4161804aabdeeaf5cf549481f5d22889c5 (diff) |
Makefile: Silence output when building Gitaly executables
Building Gitaly's Go executables is extremely verbose when generating
build IDs. Silence the output so that important signals aren't drowned
out by the noise.
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -288,7 +288,7 @@ ${GITALY_EXECUTABLES}: @ # If we cannot extract a Go build-id, we punt and fallback to using a random 32-byte hex string. @ # This fallback is unique but non-deterministic, making it sufficient to avoid generating the @ # GNU build-id from the empty string and causing guaranteed collisions. - GO_BUILD_ID=$$( go tool buildid $(addprefix ${BUILD_DIR}/bin/, $@) || openssl rand -hex 32 ) && \ + ${Q}GO_BUILD_ID=$$( go tool buildid $(addprefix ${BUILD_DIR}/bin/, $@) || openssl rand -hex 32 ) && \ GNU_BUILD_ID=$$( echo $$GO_BUILD_ID | sha1sum | cut -d' ' -f1 ) && \ go install -ldflags '${GO_LDFLAGS}'" -B 0x$$GNU_BUILD_ID" -tags "${GO_BUILD_TAGS}" $(addprefix ${GITALY_PACKAGE}/cmd/, $@) endif |