From 624f48a6027f99cd7f1213e43804bed57c8a3d55 Mon Sep 17 00:00:00 2001 From: Liang Yang Date: Sun, 1 May 2022 01:29:20 +0800 Subject: [PATCH] docker: fix compilation with glibc Signed-off-by: Liang Yang --- utils/docker/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/docker/Makefile b/utils/docker/Makefile index 41ac491ed5..33678ddf4f 100644 --- a/utils/docker/Makefile +++ b/utils/docker/Makefile @@ -39,6 +39,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) define Build/Prepare $(Build/Prepare/Default) -- 2.30.2