[Buildroot] [git commit] runc: pass -extldflags '-static' in correct variable

Peter Korsgaard peter at korsgaard.com
Wed Dec 21 20:00:35 UTC 2016


commit: https://git.buildroot.net/buildroot/commit/?id=b97e3c94a9798bbd7eb08f5bd1adb0417cde1fd1
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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 at orange.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/runc/runc.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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


More information about the buildroot mailing list