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:
a11359b
)
docker: fix compilation with glibc
author
Liang Yang
<ggg17226@gmail.com>
Sun, 27 Feb 2022 12:09:27 +0000
(20:09 +0800)
committer
Rosen Penev
<rosenp@gmail.com>
Wed, 9 Mar 2022 10:14:45 +0000
(
02:14
-0800)
Signed-off-by: Liang Yang <ggg17226@gmail.com>
utils/docker/Makefile
patch
|
blob
|
history
diff --git
a/utils/docker/Makefile
b/utils/docker/Makefile
index 41ac491ed559e719a33a00799716f5ac0ddeec0f..77291e0411bca72defab9e7abee48035aa8f6ad7 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),-lgcc_eh)
define Build/Prepare
$(Build/Prepare/Default)