dockerd: fix compilation with glibc
Signed-off-by: Liang Yang <ggg17226@gmail.com>
(cherry picked from commit 9963312067
)
This commit is contained in:
parent
8905f9808d
commit
5af6f2592e
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ endef
|
||||||
GO_PKG_BUILD_VARS += GO111MODULE=auto
|
GO_PKG_BUILD_VARS += GO111MODULE=auto
|
||||||
TAR_OPTIONS:=--strip-components 1 $(TAR_OPTIONS)
|
TAR_OPTIONS:=--strip-components 1 $(TAR_OPTIONS)
|
||||||
TAR_CMD=$(HOST_TAR) -C $(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'
|
# $(1) = path to dependent package 'Makefile'
|
||||||
# $(2) = relevant dependency '.installer' file
|
# $(2) = relevant dependency '.installer' file
|
||||||
|
|
Loading…
Reference in a new issue