It is not needed and saves compilation time.

Signed-off-by: Ladislav Michl <[email protected]>
---
 Hi,

 to be honest, the true motivation for this patch is:
   make[1]: Leaving directory '.../build-host/libcap-2.36/libcap'
   make -C go all
   make[1]: Entering directory '.../build-host/libcap-2.36/go'
   mkdir -p src/libcap
   make[1]: *** No rule to make target 'src/libcap/psx/psx.go', needed by 
'pkg/linux_amd64/libcap/psx.a'.  Stop.
 I'm not sure what problem on Debian unstable is, so let's disable
 golang support.

 rules/host-libcap.make | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/rules/host-libcap.make b/rules/host-libcap.make
index 61df84778..d92882a16 100644
--- a/rules/host-libcap.make
+++ b/rules/host-libcap.make
@@ -16,7 +16,12 @@ HOST_PACKAGES-$(PTXCONF_HOST_LIBCAP) += host-libcap
 # Prepare
 # ----------------------------------------------------------------------------
 
-HOST_LIBCAP_MAKE_OPT := prefix= BUILD_GPERF=no PAM_CAP=no LIBATTR=no 
DYNAMIC=yes lib=lib
+HOST_LIBCAP_MAKE_OPT := prefix= lib=lib \
+       BUILD_GPERF=no \
+       PAM_CAP=no \
+       GOLANG=no \
+       LIBATTR=no \
+       DYNAMIC=yes
 HOST_LIBCAP_INSTALL_OPT := $(HOST_LIBCAP_MAKE_OPT) RAISE_SETFCAP=no install
 
 # vim: syntax=make
-- 
2.27.0

_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to