summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2016-12-21 18:50:46 (GMT)
committerPeter Korsgaard <peter@korsgaard.com>2016-12-21 20:00:35 (GMT)
commitb97e3c94a9798bbd7eb08f5bd1adb0417cde1fd1 (patch)
tree1a7a23f7db8e6b35290b4c036fd79f2208d17d27
parent0c5beb6501707dd5cb80484562bf2b0cbe2b4423 (diff)
downloadbuildroot-b97e3c94a9798bbd7eb08f5bd1adb0417cde1fd1.tar.gz
buildroot-b97e3c94a9798bbd7eb08f5bd1adb0417cde1fd1.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>
-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 ef151ed..661872c 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