diff mbox series

[2/2] package/cloudflared: use go-cf toolchain

Message ID 20241028221045.3354144-2-james.hilliard1@gmail.com
State New
Headers show
Series [1/2] package/go/go-cf: new package | expand

Commit Message

James Hilliard Oct. 28, 2024, 10:10 p.m. UTC
Cloudflared needs a custom fork of golang to function properly.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
 package/cloudflared/cloudflared.mk | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/package/cloudflared/cloudflared.mk b/package/cloudflared/cloudflared.mk
index 68849e9b82..6820fe330f 100644
--- a/package/cloudflared/cloudflared.mk
+++ b/package/cloudflared/cloudflared.mk
@@ -11,5 +11,8 @@  CLOUDFLARED_LICENSE_FILES = LICENSE
 CLOUDFLARED_CPE_ID_VENDOR = cloudflare
 CLOUDFLARED_BUILD_TARGETS = cmd/cloudflared
 CLOUDFLARED_LDFLAGS = -X main.Version=$(CLOUDFLARED_VERSION)
+CLOUDFLARED_DEPENDENCIES = host-go-cf
+CLOUDFLARED_GO_BIN = $(HOST_DIR)/bin/go-cf
+CLOUDFLARED_GO_ENV = $(HOST_GO_CF_TARGET_ENV)
 
 $(eval $(golang-package))