git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
cf81132
)
docker: fix compilation with glibc
author
Liang Yang
<redacted>
Sat, 30 Apr 2022 17:29:20 +0000
(
01:29
+0800)
committer
Rosen Penev
<redacted>
Sat, 30 Apr 2022 18:21:25 +0000
(11:21 -0700)
Signed-off-by: Liang Yang <redacted>
utils/docker/Makefile
patch
|
blob
|
history
diff --git
a/utils/docker/Makefile
b/utils/docker/Makefile
index 41ac491ed559e719a33a00799716f5ac0ddeec0f..33678ddf4f97593e766d17a122989d2595b00392 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)
git clone https://git.99rst.org/PROJECT