From fd30ce33f4667d2b8af476419048a79912287300 Mon Sep 17 00:00:00 2001 From: Liang Yang Date: Sun, 27 Feb 2022 20:09:27 +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..77291e0411 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),-lgcc_eh) define Build/Prepare $(Build/Prepare/Default) -- 2.30.2