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:
5af6f25
)
docker: fix compilation with glibc
author
Liang Yang
<ggg17226@gmail.com>
Sat, 30 Apr 2022 17:29:20 +0000
(
01:29
+0800)
committer
Rosen Penev
<rosenp@gmail.com>
Sun, 15 May 2022 14:57:39 +0000
(07:57 -0700)
Signed-off-by: Liang Yang <ggg17226@gmail.com>
(cherry picked from commit
624f48a6027f99cd7f1213e43804bed57c8a3d55
)
utils/docker/Makefile
patch
|
blob
|
history
diff --git
a/utils/docker/Makefile
b/utils/docker/Makefile
index b16133466632a0bd023d9d03de2b074302cadd36..4572e897b5928b24289b4aa58ff81df5db8d13ea 100644
(file)
--- 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),-lc -lgcc_eh)
define Build/Prepare
$(Build/Prepare/Default)