From 38e57e1f467b16838d00c8dfd888b6513404c4d7 Mon Sep 17 00:00:00 2001 From: Paulo Gomes Date: Thu, 4 Aug 2022 18:52:28 +0100 Subject: [PATCH] Remove ALLOW_THREADLESS_LIBGIT2 This environment variable is to be used on the upstream version that is yet to be merged. Until it is merged, there is no point in keeping it here. Signed-off-by: Paulo Gomes --- Dockerfile.test-libgit2-only | 1 - Makefile | 1 - 2 files changed, 2 deletions(-) diff --git a/Dockerfile.test-libgit2-only b/Dockerfile.test-libgit2-only index 25cf589..6201cec 100644 --- a/Dockerfile.test-libgit2-only +++ b/Dockerfile.test-libgit2-only @@ -129,6 +129,5 @@ COPY --from=build \ /root/smoketest/static-test-runner . ENV SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt -ENV ALLOW_THREADLESS_LIBGIT2=true RUN /root/smoketest/static-test-runner diff --git a/Makefile b/Makefile index 3b6909f..8f8a3b9 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,6 @@ export LIBRARY_PATH=$(LIBGIT2_LIB_PATH) export PKG_CONFIG_PATH=$(LIBGIT2_LIB_PATH)/pkgconfig export CGO_LDFLAGS=$(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config --libs --static --cflags libgit2) export CGO_CFLAGS=-I$(LIBGIT2_PATH)/include -export ALLOW_THREADLESS_LIBGIT2=true GO_STATIC_FLAGS=-tags 'netgo,osusergo,static_build'