dockerd: fix compilation with glibc

Signed-off-by: Liang Yang <ggg17226@gmail.com>
This commit is contained in:
Liang Yang 2022-05-01 01:30:47 +08:00 committed by Rosen Penev
parent 170ed0a5d9
commit 9963312067
1 changed files with 1 additions and 0 deletions

View File

@ -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