Browse Source

docker: fix compilation with glibc

Signed-off-by: Liang Yang <ggg17226@gmail.com>
(cherry picked from commit 624f48a602)
lilik-openwrt-22.03
Liang Yang 3 years ago
committed by Rosen Penev
parent
commit
9d2246b281
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      utils/docker/Makefile

+ 1
- 0
utils/docker/Makefile 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)


Loading…
Cancel
Save