projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
170ed0a
)
dockerd: fix compilation with glibc
author
Liang Yang
<ggg17226@gmail.com>
Sat, 30 Apr 2022 17:30:47 +0000
(
01:30
+0800)
committer
Rosen Penev
<rosenp@gmail.com>
Sat, 30 Apr 2022 18:54:56 +0000
(11:54 -0700)
Signed-off-by: Liang Yang <ggg17226@gmail.com>
utils/dockerd/Makefile
patch
|
blob
|
history
diff --git
a/utils/dockerd/Makefile
b/utils/dockerd/Makefile
index 71cabb0d13e4c003187c74064aa10bd7ec17cb7e..1300e5a5fe830bb7ee7c9110f045d875b7e5041f 100644
(file)
--- a/
utils/dockerd/Makefile
+++ b/
utils/dockerd/Makefile
@@
-51,6
+51,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)
# $(1) = path to dependent package 'Makefile'
# $(2) = relevant dependency '.installer' file