runc: pass -extldflags '-static' in correct variable
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Wed, 21 Dec 2016 18:50:46 +0000 (19:50 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 21 Dec 2016 20:00:35 +0000 (21:00 +0100)
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>
package/runc/runc.mk

index ef151ede25f073fe2d7e22c70e91644836164b1d..661872c9626e0aac2a9bb65fff9054941e3a2c5d 100644 (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