docker: fix compilation with glibc

Signed-off-by: Liang Yang <ggg17226@gmail.com>
This commit is contained in:
Liang Yang authored and Rosen Penev committed 2022-04-30 11:21:25 -07:00
1 parent cf81132418
commit 624f48a602
1 file changed
+1
+1
View File
@@ -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)