From: Tian Yuanhao Date: Mon, 31 Aug 2020 02:16:41 +0000 (+0800) Subject: package/libcap: disable GOLANG X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3daacfa65bf1e5bf861736b45e3112c8cd2c3f00;p=buildroot.git package/libcap: disable GOLANG Recently, the go infrastructure has changed, and libcap has been upgraded to 2.42. libcap introduced golang in 2.28, see: https://git.kernel.org/pub/scm/linux/kernel/git/morgan/libcap.git/commit/Make.Rules?id=0615d996379dceedefcd65a114f93fefd81c208f When you compile host-go and then compile host-libcap, GOLANG will be automatically set to yes. Because libcap.mk lacks golang support, compilation will fail. Signed-off-by: Tian Yuanhao Tested-by: Joseph Kogut Signed-off-by: Yann E. MORIN --- diff --git a/package/libcap/libcap.mk b/package/libcap/libcap.mk index 08c1bc9deb..e16e4ed413 100644 --- a/package/libcap/libcap.mk +++ b/package/libcap/libcap.mk @@ -62,12 +62,12 @@ endef define HOST_LIBCAP_BUILD_CMDS $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)\ - RAISE_SETFCAP=no + RAISE_SETFCAP=no GOLANG=no endef define HOST_LIBCAP_INSTALL_CMDS $(HOST_MAKE_ENV) $(MAKE) -C $(@D) prefix=$(HOST_DIR) \ - RAISE_SETFCAP=no lib=lib install + RAISE_SETFCAP=no GOLANG=no lib=lib install endef $(eval $(generic-package))