aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2016-12-21 19:50:46 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2017-01-23 15:51:24 +0100
commitc54287b52727597e819041b53f350fa5ab984249 (patch)
treef730d1e05539fe58e52d4b79f265bd1da1992f02
parentaf96b7fd097c7ddf1718085c1c66d3a2d85ff031 (diff)
downloadbuildroot-c54287b52727597e819041b53f350fa5ab984249.tar.gz
buildroot-c54287b52727597e819041b53f350fa5ab984249.tar.bz2
runc: pass -extldflags '-static' in correct variable
commit 9101ce5800 (runc: pass -extldflags '-static' on when BR2_STATIC_LIBS=y) contained a small copy/paste error, FLANNEL_GLDFLAGS was used instead of RUNC_GLDFLAGS. [Peter: refer to exact commit] Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commit b97e3c94a9798bbd7eb08f5bd1adb0417cde1fd1)
-rw-r--r--package/runc/runc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/runc/runc.mk b/package/runc/runc.mk
index ef151ede25..661872c962 100644
--- a/package/runc/runc.mk
+++ b/package/runc/runc.mk
@@ -22,7 +22,7 @@ RUNC_GLDFLAGS = \
-X main.gitCommit=$(RUNC_VERSION)
ifeq ($(BR2_STATIC_LIBS),y)
-FLANNEL_GLDFLAGS += -extldflags '-static'
+RUNC_GLDFLAGS += -extldflags '-static'
endif
RUNC_GOTAGS = cgo static_build