From 9963312067185d7d47970d2abfb59b6c1a7bfdd5 Mon Sep 17 00:00:00 2001 From: Liang Yang Date: Sun, 1 May 2022 01:30:47 +0800 Subject: [PATCH] dockerd: fix compilation with glibc Signed-off-by: Liang Yang --- utils/dockerd/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/dockerd/Makefile b/utils/dockerd/Makefile index 71cabb0d13..1300e5a5fe 100644 --- a/utils/dockerd/Makefile +++ b/utils/dockerd/Makefile @@ -51,6 +51,7 @@ endef GO_PKG_BUILD_VARS += GO111MODULE=auto TAR_OPTIONS:=--strip-components 1 $(TAR_OPTIONS) TAR_CMD=$(HOST_TAR) -C $(1) $(TAR_OPTIONS) +TARGET_LDFLAGS += $(if $(CONFIG_USE_GLIBC),-lc -lgcc_eh) # $(1) = path to dependent package 'Makefile' # $(2) = relevant dependency '.installer' file -- 2.30.2