mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
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 <tianyuanhao@aliyun.com> Tested-by: Joseph Kogut <joseph.kogut@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
committed by
Yann E. MORIN
parent
4c77dca550
commit
3daacfa65b
@@ -62,12 +62,12 @@ endef
|
|||||||
|
|
||||||
define HOST_LIBCAP_BUILD_CMDS
|
define HOST_LIBCAP_BUILD_CMDS
|
||||||
$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)\
|
$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)\
|
||||||
RAISE_SETFCAP=no
|
RAISE_SETFCAP=no GOLANG=no
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define HOST_LIBCAP_INSTALL_CMDS
|
define HOST_LIBCAP_INSTALL_CMDS
|
||||||
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) prefix=$(HOST_DIR) \
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) prefix=$(HOST_DIR) \
|
||||||
RAISE_SETFCAP=no lib=lib install
|
RAISE_SETFCAP=no GOLANG=no lib=lib install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user