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>
This commit is contained in:
Fabrice Fontaine 2016-12-21 19:50:46 +01:00 committed by Peter Korsgaard
parent 0c5beb6501
commit b97e3c94a9

View File

@ -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