[Buildroot] [git commit] package/runc: fix version output ldflags
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Wed Dec 30 08:27:21 UTC 2020
commit: https://git.buildroot.net/buildroot/commit/?id=9e12516f2aea1f2bc858ac16873a5ccfaeac752b
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fix the ldflags specifying the version info for "version" command.
Signed-off-by: Christian Stewart <christian at paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.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 c559244e83..45fe1442ad 100644
--- a/package/runc/runc.mk
+++ b/package/runc/runc.mk
@@ -9,7 +9,7 @@ RUNC_SITE = $(call github,opencontainers,runc,v$(RUNC_VERSION))
RUNC_LICENSE = Apache-2.0
RUNC_LICENSE_FILES = LICENSE
-RUNC_LDFLAGS = -X main.gitCommit=$(RUNC_VERSION)
+RUNC_LDFLAGS = -X main.version=$(RUNC_VERSION)
RUNC_TAGS = cgo static_build
ifeq ($(BR2_PACKAGE_LIBAPPARMOR),y)
More information about the buildroot
mailing list